Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Postprocess generated json term

Compare
Choose a tag to compare
@jonasrichard jonasrichard released this 07 Jan 13:54
· 103 commits to master since this release

With ejson:to_json_term/2 or to_json_term_module/2 one can get not the final JSON string but a term which is in the format JSX library uses. With that call you can post-process the JSX term before converting it to binary.