node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7k stars 680 forks source link

null values are parsed into 'null' string #943

Closed fires3as0n closed 1 year ago

fires3as0n commented 1 year ago

I expect the same behavior as of JSON parser to null be a null. I see no option flag for that.

GrosSacASac commented 1 year ago

JSON.parse expects a String so you should not pass a null value

Could you add more context ?

GrosSacASac commented 1 year ago

How are you sending your HTTP request ?