j2j


Source link: https://github.com/cesarferreira/j2j

j2j

Convert any Files.json to corresponding Classe.java files

Installation

$ gem install j2j 

Usage

$ j2j ~/sample.json -o ~/destination_folder 

sample.json:

{

"total": 2,
"people": [
  {
 "name": "jose" 
}
,
  {
 "name": "maria" 
}

] 
}

Lets look at the ~/destination_folder...

The files Sample.java and Person.java were created

Sample.java:

public class Sample {

 private Long total;
private List<Person> people;
 public Long getTotal() {
 return total; 
}

public void setTotal(Long total) {
 this.total = total; 
}

public List<Person> getPerson() {
 return people; 
}

public void setPerson(List<Person> people) {
 this.people = people; 
}
  
}

Person.java:

public class Person {

 private String name;
 public String getName() {
 return name; 
}

public void setName(String name) {
 this.name = name; 
}
  
}

... and you're golden :)

Advanced

Param Shortcut Default value Usage
root_class -r Example.java $ j2j ~/file.json -r Person
package -p com.example $ j2j ~/file.json -p com.company
output -o out $ j2j ~/file.json -o src/

Complete example:

$ j2j ~/file.json -r Person -p com.compay -o src/

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cesarferreira/j2j.

Resources

A library for speedy implementation menu or some actions with BottomSheet.

Piri is a lightweight annotation processing library that generates static factory methods which creates new intents for activities in Android.

It is a debug library to easily measure communication traffic of network of Activity.

A simple customizable Music Indicator Animation library. You can animate bars when the audio is played.

Features

  • Animate Indicator Bars
  • Set duration
  • Set color

This is a Customer support chat library built using Smack API that you can add to your Android applications.

Once I was in search of a customer support chat library that I could embed in my Android app easily without writing much code and without taking much time. I couldn't find any. So later I made this library to accomplish that task. Try using it. Try experimenting with it.

How it works?
You need to enter your XMPP server details, details of your user's XMPP account and XMPP id of the customer support executive sitting somewhere else on an XMPP client. The library opens a chat window for your app user and the customer support executive to chat.

Nitrite is an open source embedded nosql database for Android. It has MongoDb like API.

It features:

  • Embedded key-value/document and object store
  • In-memory or single data file
  • Very fast and lightweight MongoDB like API
  • Indexing
  • Full text search capability
  • Full Android compatibility
  • Observable store
  • Both way replication via Nitrite DataGate server

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes