mirror of
https://github.com/json-iterator/go.git
synced 2025-02-01 19:14:29 +02:00
9215b3c508
This fuzzes a type, marshals it with stdlib and json-iterator, compares, then unmarshals with stdlib and json-iterator and compares. This is checking for literal, byte-for-byte compatibility. In every case the test is exactly the same. It also include benchmark functions to compare stdlib vs json-iterator. This depends on a couple PRs to be merged in gofuzz.