BPM, Workflow, and Case

 View Only
Expand all | Collapse all

Compare two TWObject's (XML, JSON) and return diff

  • 1.  Compare two TWObject's (XML, JSON) and return diff

    Posted Sun November 27, 2022 10:29 PM
    Hi!
    I have a problem. I need to compare two TWObjects with very similar structure. The structure and business data are to be compared and as a result of this comparison I need to receive information on how these two objects differ.Do you have any ideas how I can do that? Are there any java or javascript libraries that will work on the IBM BAW platform?

    ------------------------------
    Lukasz Piotrowski
    ------------------------------


  • 2.  RE: Compare two TWObject's (XML, JSON) and return diff

    Posted Mon November 28, 2022 12:20 PM
    I've used XSL Transformations to solve similar problems... XSLT has some cool functions for parsing and comparing xml.

    ------------------------------
    Tom DeLuca
    ------------------------------