JSON Examples
xcesco edited this page Mar 23, 2015
·
2 revisions
For java class
@BindAllFields
public class Employee {
public Date birthday;
public String name;
public String surname;
public int[] tickets;
}
An example of JSON output is
{
"birthday": "1965-07-11T23:32:02.811Z",
"name": "Tonj",
"surname": "Manero",
"tickets": [
1,
2,
4
]
}
For java class
public class Employee {
@Bind
public Date birthday;
@Bind
public String name;
@Bind
public String surname;
}
An example of JSON output is
{
"birthday": "1965-07-11T23:39:59.856Z",
"name": "Tonj",
"surname": "Manero"
}
- Introduction
- Goals & Features
- Kotlin
- Immutable or Mutable Pojo
- Annotation Processor Args
- Credits
- Articles
- Benchmarks
- Setup
- Tutorial
- Usage
- Dependencies and inspirations
- Stackoverflow
- Documentation
- SQL logging
- Data source options
- Indices
- SQL Type adapter
- Global SQL Type adapter
- Constraints
- Live data: welcome Architectural components!!
- Paged Live data
- Dynamic parts
- Transactional and batch operations
- Async Transactional and batch operations
- Global transaction
- Support for immutable POJO
- Generate Content provider
- Generate Database schema generation
- Database migration
- BindSqlColumn
- BindContentProvider
- BindContentProviderEntry
- BindContentProviderPath
- BindDao
- BindDaoMany2Many
- BindDataSource
- BindDataSourceOptions
- BindDataSourceUpdateTask
- BindIndex
- BindSqlRelation
- BindSqlAdapter
- BindSqlChildSelect
- BindSqlDelete
- BindSqlDynamicOrderBy
- BindSqlDynamicWhere
- BindSqlDynamicWhereParams
- BindSqlInsert
- BindSqlPageSize
- BindSqlParam
- BindSqlSelect
- BindSqlUpdate
- BindSqlType
- BindSqlTransaction