Skip to content

U.jsonToXml() Is there way to turn off the tag descriptor? #348

Answered by javadev
ryserCar asked this question in Q&A
Discussion options

You must be logged in to vote

I added a new mode

assertEquals(
        assertEquals(
                "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
                        + "<root>\n"
                        + "  <data>\n"
                        + "    <a>b</a>\n"
                        + "    <c>true</c>\n"
                        + "    <d>1</d>\n"
                        + "    <e></e>\n"
                        + "    <f>null</f>\n"
                        + "  </data>\n"
                        + "  <data2>true</data2>\n"
                        + "  <data2>1</data2>\n"
                        + "  <data2>null</data2>\n"
                        + "</root>",
                U.jsonToXml(
                        "{

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@ryserCar
Comment options

@ryserCar
Comment options

@javadev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ryserCar
Comment options

@javadev
Comment options

Answer selected by javadev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants