문제

I've been looking for a small YAML/JSON parser, preferably a single-file solution, so i can easily embed it on my application. I'm looking for a small and simple solution since i intend to use it on different platforms, and building libyaml and other solutions will be a huge pain in the ass.

Also, is TinyXML a good alternative? What is fastest to parse?

도움이 되었습니까?

해결책

I was looking for something similar sometime last year. This is the one I settled on: YAJL

It's not a single file solution, but it's not very big either. I has some features like JSON formatting and syntax checking that you might see as feature bloat, but they don't bother me.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top