ABAP JSONPath | Parse and query JSON strings with ABAP | Learn how we built it

  Рет қаралды 455

Blue Antoinette

Blue Antoinette

Күн бұрын

Пікірлер: 3
@BlueAntoinette
@BlueAntoinette 4 ай бұрын
UPDATE: Further JSONPath expressions and ABAP data structures are now supported. Check out the current feature list in our product description: www.blueantoinette.com/product/abap-jsonpath/
@carstenschlegel6975
@carstenschlegel6975 Ай бұрын
Good and structured solution in ABAP. Nice work, nice video. Does it already support multidimensional arrays? So $user.played_lottery_numbers[1][3] returns: 23 From this JSON object: { user: { name: “Max”, played_lottery_numbers: [ [10, 11, 12, 13, 14, 15], [20, 21, 22, 23, 24, 25], [30, 31, 32, 33, 34, 35] ] } } Are arrays enabled as returns? $user.played_lottery_numbers[1] returns: internal table with the numbers 20,21,22,23,24,25 Or objects as returns: $user returns: the elements of the whole object (certainly not easy to implement).
@BlueAntoinette
@BlueAntoinette Ай бұрын
ad 1) is not implemented ad 2+3) Default return types are strings, but optionaly you also can pass in an object with the structure you need and the object gets filled accordingly. In this case you would do: jsonpath->get_data( EXPORTING query_string = query_string CHANGING data = my_typed_data ). my_typed_data can be of any (custom) type. query_string can be at any level: eg. with $.book[*]` you need just to provide the structure at the book level. Of course you can get the whole object, but then you also need to pass in the whole structure. You can see this in action in my other video: kzbin.info/www/bejne/i4e2hGx3bd6IbpI Furthermore you can find all currently implemented use cases in the "Description" tab of this page on my site: www.blueantoinette.com/product/abap-jsonpath/
SAP RAP CDS with External Services (instead of Database)
24:13
Blue Antoinette
Рет қаралды 519
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 24 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 741 М.
Better Java Streams with Gatherers - JEP Cafe #23
1:13:32
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 840 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 15 М.
Lada Aura - полный разбор на компоненты.
43:47
Клубный сервис
Рет қаралды 152 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 102 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 81 М.
Building Real-time Apps with Go | Azim Pulat
54:58
Azim Pulat
Рет қаралды 41 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 187 М.