flightcontrolhq / superjson

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
https://www.flightcontrol.dev?ref=superjson
MIT License
4.01k stars 87 forks source link

Document binary data support #255

Open FeldrinH opened 1 year ago

FeldrinH commented 1 year ago

According to the resolution of https://github.com/blitz-js/superjson/issues/144 sending binary data as base64 is supported by superjson. However, I could not find this mentioned anywhere in the documentation. It would be good to document that binary data is supported and what representations specifically are supported.

Skn0tt commented 1 year ago

Absolutely! Would you be interested in providing a PR for that?