json2xml icon indicating copy to clipboard operation
json2xml copied to clipboard

Multiple nested wrappers

Open gvdeepak opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. I would like to convert json to xml with multiple nested wrapper like <First> <Second> . . </Second> </First>

Describe the solution you'd like You can provide an option like to accept "," separated values or new subwrapper1 string

Describe alternatives you've considered No

Additional context

gvdeepak avatar Mar 01 '21 09:03 gvdeepak

Is this question still relevant for you?

Jeroendevr avatar Jun 02 '22 09:06 Jeroendevr

@Jeroendevr Do you want to take a shot at this in a backward compatible way?

vinitkumar avatar Jun 15 '22 09:06 vinitkumar

Hmm not if it’s not a thing someone is gonna use 😅 . I don’t expect to work on it (a lot) in the coming 2 months.

Jeroendevr avatar Jun 15 '22 10:06 Jeroendevr

Sure. I am not too keen on working on this feature either.

On Wed, 15 Jun 2022 at 15:34, Jeroendevr @.***> wrote:

Hmm not if it’s not a thing someone is gonna use 😅 . I don’t expect to work on it (a lot) in the coming 2 months.

— Reply to this email directly, view it on GitHub https://github.com/vinitkumar/json2xml/issues/67#issuecomment-1156268199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEDITVWKVENF55YD77RRLDVPGTEJANCNFSM4YMGHS5A . You are receiving this because you commented.Message ID: @.***>

-- Thanks and Regards, Vinit Kumar

vinitkumar avatar Jun 15 '22 10:06 vinitkumar

<First> <Second> . . </Second> </First>

may be converted to

{
  "First": {
    "Second": " . . "
  },
  "#omit-xml-declaration": "yes"
}

javadev avatar Jan 02 '23 14:01 javadev