Re:Show HN: Cdefs, extract function prototypes in C files to...
by kylebgorman on Sunday August 30, 2015 @04:10PM
(#10144347)
While it's not quite what you want (as the specification language is not JSON---it's more like C declarations), "protobufs" allow you to generate serializers and de-serializers in a number of languages.
http://github.com/google/protobuf