Object JSONRef.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String refClassName(KType $self) Get the class name of the reference class for error messages (this function is public only because it is required by public inline functions).
      final <T extends JSONValue> JSONRef<T> of(T json) Create a strongly-typed reference to the base of the given JSON.
      final <T extends JSONValue> JSONRef<T> of(JSONValue json, String pointer) Create a strongly-typed reference using the given base JSON and a pointer in String form.
      final <T extends JSONValue> JSONRef<T> of(JSONValue json, JSONPointer pointer) Create a strongly-typed reference using the given base JSON and pointer.
      final JSONRef<JSONValue> untyped(JSONValue base, JSONPointer pointer) Create an untyped reference using the given base JSON and pointer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • refClassName

         final String refClassName(KType $self)

        Get the class name of the reference class for error messages (this function is public only because it is required by public inline functions).

      • of

         final <T extends JSONValue> JSONRef<T> of(T json)

        Create a strongly-typed reference to the base of the given JSON.

      • of

         final <T extends JSONValue> JSONRef<T> of(JSONValue json, String pointer)

        Create a strongly-typed reference using the given base JSON and a pointer in String form.

      • of

         final <T extends JSONValue> JSONRef<T> of(JSONValue json, JSONPointer pointer)

        Create a strongly-typed reference using the given base JSON and pointer.

      • untyped

         final JSONRef<JSONValue> untyped(JSONValue base, JSONPointer pointer)

        Create an untyped reference using the given base JSON and pointer.