We are using Go for one of our projects and our API's use JSON as the payload formatter. We have a large json file (12MB) that needs to be unmarshalled. We just used the standard json enconde/decode and it bloats up the memory. I ran the pprof an realized it was due to reflect_unsafe.NewArray that needs a lot of allocation. Is this the standard way to implement API's with large json files in Go or should I not use encode/decode for this purpose?
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.