Open AlexandreZaytsev opened 2 years ago
VBA-JSON reads the entire JSON dataset into memory objects so your concern about the dataset size is warranted. When dealing with large JSON datasets VBA-JSON is probably not the tool you want to use. Rather you should investigate using MySQL's JSON features or some other SQL or NoSQL database that handles JSON data.
Sometimes I use Excel to generate an HTTP request and get a JSON response. When the JSON response is large I import the data into MySQL and use MySQL's JSON features to either reduce the JSON data to what I need or create new columns from the JSON data. After that is done I re-import the data back into Excel to do whatever analysis is needed.
Hope that helps.
yes, this is probably the way out, thank you
HI is it possible to pre-filter the JSON before issuing the result? Below is an example of a response from the service of the access control system (admission) more than ~ 5000 events
question - in order not to load the system - is it possible to filter the JSON response by nested fields
for example Set Parsed = JsonConverter.ParseJSON (... where ... "Event.Message.Name" = my value) or Set Parsed = JsonConverter.ParseJSON (... where ... "Event.User.Token" = my value) etc.
? example JSON response