Class RecordJsonifier
java.lang.Object
org.nustaq.reallive.server.storage.RecordJsonifier
converts json to records and vice versa
used types:
String - string
Boolean - boolean
Long,Double - number
Object[] - array
Record - { }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.eclipsesource.json.JsonValuefromJavaValue(Object value) com.eclipsesource.json.JsonObjectfromRecord(Record r) static RecordJsonifierget()static com.eclipsesource.json.JsonArrayjsonArrayFrom(Object... arr) static com.eclipsesource.json.JsonObjectstatic voidtoJavaValue(com.eclipsesource.json.JsonValue jsonValue) toRecord(com.eclipsesource.json.JsonObject members) Object[]toRecordArray(com.eclipsesource.json.JsonArray arr) toRecordValue(Object value)
-
Constructor Details
-
RecordJsonifier
public RecordJsonifier()
-
-
Method Details
-
get
-
fromRecord
-
fromJavaValue
-
toRecordValue
-
from
-
toRecord
-
toJavaValue
-
toRecordArray
-
jsonFrom
-
jsonArrayFrom
-
main
-