Class JsonValue

  • All Implemented Interfaces:

    
    public final class JsonValue
    
                        

    A wrapper struct for JSON values passed across the FFI boundary.

    This struct allows language bindings (like Kotlin or Swift) to pass valid JSON data to the Cedarling engine as a string, which is then parsed internally.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String value
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonValue(String value)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getValue() String representation of the JSON value
      final Unit setValue(String value) String representation of the JSON value
      • Methods inherited from class java.lang.Object

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

      • JsonValue

        JsonValue(String value)