开发者

File format that is simple like XML but smaller

开发者 https://www.devze.com 2023-04-07 02:16 出处:网络
I\'m creating a map editor that saves maps for something.Currently, I\'ve been saving it in XML (because it is built into the .net framework).The problem is, XML is very bloated and there could be tho

I'm creating a map editor that saves maps for something. Currently, I've been saving it in XML (because it is built into the .net framework). The problem is, XML is very bloated and there could be thousands of elements per file.

Is there any other sim开发者_Go百科ple to use formats (that I don't have to create a complicated parser for) to can store just some simple values?


Take a look at JSON http://en.wikipedia.org/wiki/JSON or protobuf http://code.google.com/p/protobuf/. For both formats .NET libraries exists.

0

精彩评论

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

关注公众号