mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
data serialization, keep item order (#4399)
This commit is contained in:
parent
f1dbe88729
commit
d1d12da6fe
|
@ -41,7 +41,8 @@ CLASS ZCL_ABAPGIT_DATA_SERIALIZER IMPLEMENTATION.
|
||||||
|
|
||||||
TRY.
|
TRY.
|
||||||
lo_ajson = zcl_abapgit_ajson=>create_empty( ).
|
lo_ajson = zcl_abapgit_ajson=>create_empty( ).
|
||||||
lo_ajson->zif_abapgit_ajson_writer~set(
|
lo_ajson->keep_item_order( ).
|
||||||
|
lo_ajson->set(
|
||||||
iv_path = '/'
|
iv_path = '/'
|
||||||
iv_val = <lg_tab> ).
|
iv_val = <lg_tab> ).
|
||||||
lv_string = lo_ajson->stringify( 2 ).
|
lv_string = lo_ajson->stringify( 2 ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user