Jump to content
Steve Maughan

Fastest Way to Read / Parse a large JSON File?

Recommended Posts

I need to read and parse a large JSON file (of geographic data) as fast as possible. I'd prefer to use Delphi's own classes but I'm not adverse using a third party component if it's measurably faster. 

 

What's the best way to do this?

 

Thanks,

 

Steve

Share this post


Link to post

kbmMW's JSON parser is pretty fast. If you have Delphi Berlin, you can visit https://portal.components4developers.com, register and download kbmMW Community Edition which is free. It contains the native JSON, XML, BSON, MessagePack, YAML and CSV parsers/generators.

 

Share this post


Link to post

Has anyone done any benchmarking lately on JSON libs?

Ones I have seen are bit old I think. (I am not needing one right now, but would be good for the community if someone woulöd do something like that)

 

.Tee.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×