cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add Root Element for Json Output

osiris_360
Participant
0 Kudos
337

Hi Experts,

Currently I am working on YCommerceWebservice. OOTB for LanguageWsDTO. I am getting the Below Output

 {
     "isocode": "de",
     "active": "true",
     "fallbackLanguages": "en",
     "name": "German"
 }

But I want output in the Below Format

 {
 "LanguageWsDTO": {
     "isocode": "de",
     "active": "true",
     "fallbackLanguages": "en",
     "name": "German"
 }
 }

For Some reason it is missing the Root Level Name. How Do I enable this in YCommerceWebservices

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vishal Im stuck in the same problem, have you found a solution?