Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sbcgua committed Aug 5, 2024
1 parent 536bcbb commit fe8e9c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/zcl_ajson.clas.testclasses.abap
Original file line number Diff line number Diff line change
Expand Up @@ -4089,21 +4089,21 @@ class ltcl_integrated implementation.
ty_persons type standard table of ty_person with key name.

data li_json1 type ref to zif_ajson.
data li_jsonA type ref to zif_ajson.
data li_jsona type ref to zif_ajson.
data ls_act type ty_person.
data ls_exp type ty_person.
* data ls_exp type ty_person.

Check failure on line 4094 in src/core/zcl_ajson.clas.testclasses.abap

View check run for this annotation

abaplint / abaplint

Commented code

https://rules.abaplint.org/commented_code
data lt_act type ty_persons.
data lt_exp type ty_persons.
* data lt_exp type ty_persons.

Check failure on line 4096 in src/core/zcl_ajson.clas.testclasses.abap

View check run for this annotation

abaplint / abaplint

Commented code

https://rules.abaplint.org/commented_code

li_json1 = zcl_ajson=>parse( '{ "name": "A",' &&
'"email": [ { "id": "1", "email": "[email protected]" }, { "id": "2", "email": "[email protected]" } ] }' ).
li_jsonA = zcl_ajson=>parse( '[' &&
li_jsona = zcl_ajson=>parse( '[' &&
'{ "name": "A", "email": [ { "id": "1", "email": "[email protected]" }, { "id": "2", "email": "[email protected]" } ] },' &&
'{ "name": "B", "email": [ { "id": "3", "email": "[email protected]" }, { "id": "4", "email": "[email protected]" } ] }' &&
']' ).

li_json1->to_abap( importing ev_container = ls_act ).
li_jsonA->to_abap( importing ev_container = lt_act ).
li_jsona->to_abap( importing ev_container = lt_act ).

endmethod.

Expand Down

0 comments on commit fe8e9c9

Please sign in to comment.