Skip to content
CCPEDIAby Unity Nodes
App Development

Java JsonCodec -- how to convert from JsValue to Value

4 posts246 viewsLast activity May 2024

  1. huwOP

    I notice this class has been added to the java codegen package: com.daml.lf.codegen.json.JsonCodec. It seems to only support converting Values to JsValues. Is there any way to do the opposite – deserialise a JsValue into a Value?

  2. huw

    Hi, can I please get some update on the above question? Essentially, I’d like to be able to convert JSON into Daml Values.

  3. cocreature

    There isn’t any option for decoding at the moment. It may be added later but we don’t have a timeline for it at this point.

  4. huw

    Is there any update on this one? I assume still not available yet? Thanks