Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Java JsonCodec -- how to convert from JsValue to ValueForum ↗

Java JsonCodec -- how to convert from JsValue to Value

App Development4 posts216 viewsLast activity May 2024
HU
huwOP
Apr 2023

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?

HU
huw
May 2023

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

CO
cocreature
May 2023

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.

HU
huw
May 2024

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

← Back to Discussions