public interface JsonObjectFactory
JsonObject
and JsonArray objects.| Modifier and Type | Method and Description |
|---|---|
JsonObject |
create()
Creates an empty and mutable JsonObject.
|
JsonObject |
create(Map<String,Object> params,
boolean mutable)
Creates an IJonObject based on the specified Map.
|
JsonArray |
createArray()
Creates an empty and mutable JsonArray.
|
JsonArray |
createArray(List<Object> elements,
boolean mutable)
Creates a JsonArray based on the List.
|
JsonObject create()
JsonObject create(Map<String,Object> params, boolean mutable)
The keys will be parsed as JsonPaths.
Any none native objects will
be cloned to a JsonObject.
mutable - if true the resulting
object and all its children will be mutable, otherwise
they will all be immutable.JsonArray createArray()
Copyright © 2017. All rights reserved.