form-js icon indicating copy to clipboard operation
form-js copied to clipboard

Align import and export APIs with other toolkits (import and export `TEXT`)

Open nikku opened this issue 4 years ago • 0 comments

Describe the problem you're having

Our import and export APIs are not aligned with our other toolkits, as they do not import raw text documents but parsed JavaScript objects. That causes causes issues for our users and may be dangerous for us, too.

Describe the solution

  • [ ] Import and export APIs work on text basis, that means the document is decoded from a string during import and encoded to a string during export

Why should we do it?

  • Users are used to text-based import APIs
  • Text is a safe format to fiddle around with. Serialized we do not run into issues like leaking internal references.

nikku avatar Aug 30 '21 13:08 nikku