Serialise XML to struct / type


I am very new to OCaml and know the concept of serialisation of data into structured types from languages like Go and Swift.

I am looking for a library which allows me to serialise XML into data structures.
I‘ve read that ppx_deriving_yojson, ppx_yojson_conv and adt can be used for JSON but I can’t find something similar for XML.

Hello, looks like this might do the job; ppx_protocol_conv_xmlm 5.2.1 (latest) · OCaml Package

1 Like