Closed pietervanheijningen closed 1 week ago
Hey!
msgp.CopyToJSON can produce invalid json if the msgpack contains an extension. Looks to be a typo. Here's the fix
msgp.CopyToJSON
Didn't extensively test, but seems to fix it for the data i throw at it.
Thanks for the project! Just this function to convert to a JSON string has been quite helpful for me
Hey!
msgp.CopyToJSON
can produce invalid json if the msgpack contains an extension. Looks to be a typo. Here's the fixDidn't extensively test, but seems to fix it for the data i throw at it.
Thanks for the project! Just this function to convert to a JSON string has been quite helpful for me