rjson

Recursive, reflection based json to / from object conversion

Лицензия

Лицензия

Категории

Категории

JSON Данные
Группа

Группа

com.daveayan
Идентификатор

Идентификатор

rjson
Последняя версия

Последняя версия

1.11
Дата

Дата

Тип

Тип

jar
Описание

Описание

rjson
Recursive, reflection based json to / from object conversion
Ссылка на сайт

Ссылка на сайт

https://github.com/daveayan/rjson

Скачать rjson

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.daveayan/rjson/ -->
<dependency>
    <groupId>com.daveayan</groupId>
    <artifactId>rjson</artifactId>
    <version>1.11</version>
</dependency>
// https://jarcasting.com/artifacts/com.daveayan/rjson/
implementation 'com.daveayan:rjson:1.11'
// https://jarcasting.com/artifacts/com.daveayan/rjson/
implementation ("com.daveayan:rjson:1.11")
'com.daveayan:rjson:jar:1.11'
<dependency org="com.daveayan" name="rjson" rev="1.11">
  <artifact name="rjson" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.daveayan', module='rjson', version='1.11')
)
libraryDependencies += "com.daveayan" % "rjson" % "1.11"
[com.daveayan/rjson "1.11"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
commons-lang : commons-lang jar 2.3
com.daveayan : mirage jar 1.9
com.daveayan : transformers jar 1.3
commons-io : commons-io jar 2.0.1
commons-logging : commons-logging jar 1.1.1
joda-time : joda-time jar 2.4

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.5

Модули Проекта

Данный проект не имеет модулей.

Rjson

What is this?

Utility to serialize Java Objects to Json and deserialize Json to Java Objects

Why another framework?

I like other json frameworks, flexjson and gson. However there are a few features that I don't find them all in one single framework. Hence Rjson was created. These features are:

  • Use reflection and recursion to work with every single property in an object. Respect the transient properties.
  • For application specific classes print the fully qualified class name in json as well with the key "className"
  • Support to extend the framework for transformation helpers

How do I use it?

  • Get an instance of Rjson object using newInstance()
  • Use methods toJson or toObject to serialize or deserialize

Версии библиотеки

Версия
1.11
1.10
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.1
1.0