You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
Jsonbjsonb = JsonbBuilder.create(); // this could also just be a bean?Stringjson = jsonb.toJson(message);
com.sun.faces.util.Json.encode only contains the bare minimum for my functional requirements. Json.encode doesn't utilize custom annotations to stop bidirectional loops nor defining custom json (it already loops on a typical Enum class). In my case particularly, I'd like to either implement Yasson or make my own GSON/Jackson wrapper.
Please replace:
with:
com.sun.faces.util.Json.encode only contains the bare minimum for my functional requirements. Json.encode doesn't utilize custom annotations to stop bidirectional loops nor defining custom json (it already loops on a typical Enum class). In my case particularly, I'd like to either implement Yasson or make my own GSON/Jackson wrapper.