Вопрос

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