Class RadixJsonObjectBuilder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> Unit to(String $self, T value) Add a property with the given keySyntax: "key" to value
      final JsonObject build() Return the completed JsonObject
      • Methods inherited from class java.lang.Object

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

      • RadixJsonObjectBuilder

        RadixJsonObjectBuilder()
    • Method Detail

      • to

         final <T extends Any> Unit to(String $self, T value)

        Add a property with the given key

        Syntax: "key" to value

      • build

         final JsonObject build()

        Return the completed JsonObject