JSON Recommendations for API 2.0

Considering API 2, which one should we use for a new project:

Xojo.Data.ParseJSON and Xojo.Data.GenerateJSON



Unless you need iOS, use JSONItem.

Better yet, use my JSONItem_MTC. It’s the same API but faster and it fixes some bugs in JSONItem.

In the develop branch of the project, soon to be released, there are functions for GenerateJSON and ParseJSON that will convert to and from Dictionary/Variant(), so that’s another option.

We don’t need ios so we’ll stick with JSONItem or maybe your improved version. Is your class ios compatible?

No, it’s a drop-in replacement for JSONItem and uses the classic framework (soon to be API 2.0) on the backend.