Skip to content

Commit 47faba6

Browse files
committed
fix
1 parent e15deb2 commit 47faba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/json/#ui2#cl_json.clas.abap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ CLASS /ui2/cl_json IMPLEMENTATION.
343343
FIELD-SYMBOLS <ls_component> LIKE LINE OF lt_components.
344344

345345
prefix = mo_parsed->find_ignore_case( prefix ).
346-
347346
* WRITE '@KERNEL console.dir(lo_type.get());'.
348347
CASE io_type->kind.
349348
WHEN cl_abap_typedescr=>kind_elem.
@@ -368,6 +367,8 @@ CLASS /ui2/cl_json IMPLEMENTATION.
368367
ELSE.
369368
data = lv_value.
370369
ENDIF.
370+
ELSEIF io_type->type_kind = cl_abap_typedescr=>typekind_xstring.
371+
data = cl_http_utility=>decode_x_base64( mo_parsed->value_string( prefix ) ).
371372
ELSEIF io_type->type_kind = cl_abap_typedescr=>typekind_time.
372373
lv_value = mo_parsed->value_string( prefix ).
373374
REPLACE ALL OCCURRENCES OF ':' IN lv_value WITH ''.

0 commit comments

Comments
 (0)