Skip to content
Advertisement

Accessing json value using jsonpath?

I’m following the tutorial for using jsonpath (https://www.baeldung.com/guide-to-jayway-jsonpath) and using the endpoint https://api.binance.com/api/v3/exchangeInfo I’m attempting to parse the value LOT_SIZE, stepSize for the symbol TRXEUR. The specific piece of JSON contained in the returned payload is contained in:

JavaScript

More specifically how to extract 1.00000000 from :

JavaScript

Here is what I’ve written :

JavaScript

Which returns :

JavaScript

I can access the symbol TRXEUR and symbols is parsed but how to extract 1.00000000 from :

JavaScript

?

Advertisement

Answer

From https://jsonpath.herokuapp.com/

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement