开发者

A tool to convert JSON to C struct? [closed]

Closed. This question does not meet Stack Overflow guidelines.开发者_Go百科 It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm just wondering if anyone has already created a tool that will take a given JSON string and write the code for an identical struct in C along with the parser code specific to that struct.

I'm about to do this myself using JSON-C, but I thought I'd ask first.


I think protobuf is my best bet. A guy on the NodeJS list led me on to this.

  • protobuf-c
  • node-protobuf
  • protobuf-js
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜