Multi-Source Experiments

Last modified 01 Jul 2022 12:16 +02:00

Let’s make this test case more interesting. The following examples should be squashed together:

<root>
    <of>
        <all>
            Evil
        </all>
    </of>
</root>
{
  "uglymus" : "maximus"
}
indent:
  ad:
    nauseam:

Examples below should be sqashed, yet the ordering is different.

{
  "axiom" : "rescues"
}
<old>
    <dogs>
        <like>
            <it>anyway</it>
        </like>
    </dogs>
</old>
maybe:
  some: day

Just two languages below:

Examples below should be sqashed, yet the ordering is different.

{
  "axiom" : "rescues"
}
<old>
    <dogs>
        <like>
            <it>anyway</it>
        </like>
    </dogs>
</old>

Unexpected language below. What do we want to do with it?

{
  "axiom" : "rescues"
}
<old>
    <dogs>
        <like>
            <it>anyway</it>
        </like>
    </dogs>
</old>
maybe:
  some: day
ninja --bushido atari

Examples below are all in XML. They should not be squashed:

<lots>
    <of>
        <angle>
            <brackets/>
        </all>
    </of>
</lots>
<minimalism/>

There is just one JSON example below. We want to keep that one as it is, no tabs, no squashing.

{
  "maybe" : "ugly",
  "but" : "it is everywhere"
}
Was this page helpful?
YES NO
Thanks for your feedback