Package com.github.erosb.jsonsKema
Class JsonObject
-
- All Implemented Interfaces:
-
com.github.erosb.jsonsKema.IJsonObject,com.github.erosb.jsonsKema.IJsonValue
public final class JsonObject extends JsonValue implements IJsonObject<JsonString, JsonValue>
-
-
Field Summary
Fields Modifier and Type Field Description private final Map<JsonString, JsonValue>propertiesprivate final SourceLocationlocation
-
Constructor Summary
Constructors Constructor Description JsonObject(Map<JsonString, JsonValue> properties, SourceLocation location)JsonObject(Map<JsonString, JsonValue> properties)
-
Method Summary
Modifier and Type Method Description Map<JsonString, JsonValue>getProperties()SourceLocationgetLocation()UnitmarkUnevaluated(String propName)UnitmarkEvaluated(String propName)Booleanequals(Object other)-
Methods inherited from class com.github.erosb.jsonsKema.JsonValue
hashCode, toString -
Methods inherited from class com.github.erosb.jsonsKema.IJsonValue
accept, jsonTypeAsString, maybeArray, maybeNumber, maybeObject, maybeString, requireArray, requireBoolean, requireInt, requireNull, requireNumber, requireObject, requireString -
Methods inherited from class com.github.erosb.jsonsKema.IJsonObject
get -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
JsonObject
JsonObject(Map<JsonString, JsonValue> properties, SourceLocation location)
-
JsonObject
JsonObject(Map<JsonString, JsonValue> properties)
-
-
Method Detail
-
getProperties
Map<JsonString, JsonValue> getProperties()
-
getLocation
SourceLocation getLocation()
-
markUnevaluated
Unit markUnevaluated(String propName)
-
markEvaluated
Unit markEvaluated(String propName)
-
-
-
-