Save model to JSON

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Save model to JSON

Alexey Zinoviev
Hi, Igniters!

I'm going to provide ML model export/import in human-readable format like
JSON.
But I have an issue: what JSON ser/deser library to use:

   - I don't want to add dependency with possible CVEs
   - I don't need in special annotations to mark the POJO objects or
   something similar
   - I need to keep hierarchical (not plain) data in JSON

Nice to hear any comments/suggestions

Alexey
Reply | Threaded
Open this post in threaded view
|

Re: Save model to JSON

Ilya Kasnacheev
Hello!

Our REST Jetty code uses jackson databind.

I think it is a safe bet since most users will have it in classpath anyway,
since they use our REST.
If there are any CVEs we have a lot of pressure to fix it, which will also
fix ML export.

Regards,
--
Ilya Kasnacheev


вт, 16 июн. 2020 г. в 15:22, Alexey Zinoviev <[hidden email]>:

> Hi, Igniters!
>
> I'm going to provide ML model export/import in human-readable format like
> JSON.
> But I have an issue: what JSON ser/deser library to use:
>
>    - I don't want to add dependency with possible CVEs
>    - I don't need in special annotations to mark the POJO objects or
>    something similar
>    - I need to keep hierarchical (not plain) data in JSON
>
> Nice to hear any comments/suggestions
>
> Alexey
>