Uses of Interface
sk.antons.json.JsonValue
-
Packages that use JsonValue Package Description sk.antons.json sk.antons.json.impl sk.antons.json.literal sk.antons.json.literal.impl sk.antons.json.match sk.antons.json.match.wild sk.antons.json.parse -
-
Uses of JsonValue in sk.antons.json
Subinterfaces of JsonValue in sk.antons.json Modifier and Type Interface Description interfaceJsonArrayJson array instance.interfaceJsonObjectJson object.Methods in sk.antons.json that return JsonValue Modifier and Type Method Description JsonValueJsonValue. copy()Makes deep copy of this value.JsonValueJsonValue. findFirst(PathMatcher matcher)Find first json value with defined pathJsonValueJsonArray. first()Reads first element of json array.JsonValueJsonObject. first()Returns value of first attribute.JsonValueJsonObject. first(String name)Value of first attribute with specidied nameJsonValueJsonArray. get(int index)Reads n'th item from json array.JsonValueJsonArray. last()Reads last element of json array.JsonValueJsonObject. last()Returns value of last attribute.JsonValueJsonValue. parent()Parent of this value in json structureJsonValueJsonArray. remove(int index)Removes n'th element from json array.JsonValueJsonAttribute. value()Value of json attribute.Methods in sk.antons.json that return types with arguments of type JsonValue Modifier and Type Method Description List<JsonValue>JsonObject. all(String name)Values of all attributes with specidied nameList<JsonValue>JsonValue. findAll(PathMatcher matcher)Find all json values with defined pathList<JsonValue>JsonArray. toList()Converts this instance to regulat list of values.Methods in sk.antons.json with parameters of type JsonValue Modifier and Type Method Description JsonArrayJsonArray. add(JsonValue value)Adds new element to json array.JsonArrayJsonArray. add(JsonValue value, int index)Adds new element to json array at specified position.JsonObjectJsonObject. add(String name, JsonValue value)Adds attribute ti this json object at last position.JsonObjectJsonObject. add(String name, JsonValue value, int index)Adds attribute ti this json object at specified position.booleanJsonValue. isDescendantOf(JsonValue parent)Returns true is this value is descendant of parent value;voidJsonValue. replaceBy(JsonValue newValue)Replaces this instance in parent object by this value. -
Uses of JsonValue in sk.antons.json.impl
Classes in sk.antons.json.impl that implement JsonValue Modifier and Type Class Description classJsonArrayImplclassJsonObjectImplclassJsonValueImplMethods in sk.antons.json.impl that return JsonValue Modifier and Type Method Description JsonValueJsonArrayImpl. copy()JsonValueJsonObjectImpl. copy()JsonValueJsonArrayImpl. findFirst(PathMatcher matcher, List<String> path)JsonValueJsonObjectImpl. findFirst(PathMatcher matcher, List<String> path)JsonValueJsonValueImpl. findFirst(PathMatcher matcher)abstract JsonValueJsonValueImpl. findFirst(PathMatcher matcher, List<String> path)JsonValueJsonArrayImpl. first()JsonValueJsonObjectImpl. first()JsonValueJsonObjectImpl. first(String name)JsonValueJsonArrayImpl. get(int index)JsonValueJsonArrayImpl. last()JsonValueJsonObjectImpl. last()JsonValueJsonValueImpl. parent()JsonValueJsonArrayImpl. remove(int index)JsonValueJsonAttributeImpl. value()Methods in sk.antons.json.impl that return types with arguments of type JsonValue Modifier and Type Method Description List<JsonValue>JsonObjectImpl. all(String name)List<JsonValue>JsonValueImpl. findAll(PathMatcher matcher)List<JsonValue>JsonArrayImpl. toList()List<JsonValue>JsonArrayImpl. values()Methods in sk.antons.json.impl with parameters of type JsonValue Modifier and Type Method Description JsonArrayJsonArrayImpl. add(JsonValue value)JsonArrayJsonArrayImpl. add(JsonValue value, int index)JsonObjectJsonObjectImpl. add(String name, JsonValue value)JsonObjectJsonObjectImpl. add(String name, JsonValue value, int index)booleanJsonAttributeImpl. isDescendantOf(JsonValue parent)booleanJsonGroup. isDescendantOf(JsonValue parent)booleanJsonValueImpl. isDescendantOf(JsonValue parent)voidJsonArrayImpl. remove(JsonValue value)voidJsonArrayImpl. replaceBy(JsonValue oldValue, JsonValue newValue)voidJsonValueImpl. replaceBy(JsonValue newValue)voidJsonAttributeImpl. setValue(JsonValue value)Method parameters in sk.antons.json.impl with type arguments of type JsonValue Modifier and Type Method Description voidJsonArrayImpl. findAll(PathMatcher matcher, List<JsonValue> values, List<String> path)voidJsonObjectImpl. findAll(PathMatcher matcher, List<JsonValue> values, List<String> path)abstract voidJsonValueImpl. findAll(PathMatcher matcher, List<JsonValue> values, List<String> path) -
Uses of JsonValue in sk.antons.json.literal
Subinterfaces of JsonValue in sk.antons.json.literal Modifier and Type Interface Description interfaceJsonBoolLiteralBoolean literal.interfaceJsonExpLiteralExponent literal value.interfaceJsonFracLiteralFractional literal value.interfaceJsonIntLiteralInteger literal value.interfaceJsonLiteralAbstract literal value.interfaceJsonNullLiteralNull literal value.interfaceJsonStringLiteralString literal. -
Uses of JsonValue in sk.antons.json.literal.impl
Classes in sk.antons.json.literal.impl that implement JsonValue Modifier and Type Class Description classJsonBoolLiteralImplclassJsonExpLiteralImplclassJsonFracLiteralImplclassJsonIntLiteralImplclassJsonLiteralImplclassJsonNullLiteralImplclassJsonStringLiteralImplMethods in sk.antons.json.literal.impl that return JsonValue Modifier and Type Method Description JsonValueJsonBoolLiteralImpl. copy()JsonValueJsonExpLiteralImpl. copy()JsonValueJsonFracLiteralImpl. copy()JsonValueJsonIntLiteralImpl. copy()JsonValueJsonNullLiteralImpl. copy()JsonValueJsonStringLiteralImpl. copy()JsonValueJsonLiteralImpl. findFirst(PathMatcher matcher, List<String> path)Method parameters in sk.antons.json.literal.impl with type arguments of type JsonValue Modifier and Type Method Description voidJsonLiteralImpl. findAll(PathMatcher matcher, List<JsonValue> values, List<String> path) -
Uses of JsonValue in sk.antons.json.match
Methods in sk.antons.json.match with parameters of type JsonValue Modifier and Type Method Description MatchPathMatcher. match(List<String> currentpath, JsonValue currentvalue)Returns result of matchMatchSimplePathMatcher. match(List<String> currentpath, JsonValue currentvalue) -
Uses of JsonValue in sk.antons.json.match.wild
Methods in sk.antons.json.match.wild with parameters of type JsonValue Modifier and Type Method Description MatchWildPathMatcher. match(List<String> currentpath, JsonValue currentvalue) -
Uses of JsonValue in sk.antons.json.parse
Methods in sk.antons.json.parse that return JsonValue Modifier and Type Method Description static JsonValueJsonParser. parse(Reader json)Parse json from reader.static JsonValueJsonParser. parse(String json)Parse json from string.static JsonValueJsonParser. parse(JsonSource source)Parse json from source.
-