webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Large JSON file Handling

    Posted Wed February 03, 2021 12:01 PM

    Hi,

    I have an use case where clients will be sending large JSON file as stream to my REST webservice. I need to parse the content and send it to backend as java POJO.

    As the JSON file is huge, I don’t want to convert to string straightaway due to OOM issue.

    In 10.5, are there any services available to parse the large JSON content like the one for XML (XML Node Iterator)?

    I have looked at the wm docs and couldn’t find the details. Before I go with the Jackson/GSON approach, I wanted to check if anyone encountered similar use case. Appreciate any recommendations or suggestions.

    Thanks,
    Karthik


    #Integration-Server-and-ESB
    #webMethods-io-B2B
    #API-Management
    #B2B-Integration
    #webMethods
    #webMethods-io-Integration
    #API-Gateway
    #Flow-and-Java-services


  • 2.  RE: Large JSON file Handling

    Posted Tue February 16, 2021 12:15 AM

    Hi Karthik, in 10.7 release there are some public services added to handle large JSON using iterator approach.


    #webMethods-io-B2B
    #webMethods-io-Integration
    #B2B-Integration
    #API-Management
    #API-Gateway
    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Large JSON file Handling



  • 4.  RE: Large JSON file Handling

    Posted Thu February 18, 2021 01:03 AM

    Hi Karthik,

    How huge is huge? And is the size predictable or may it continue to grow in the future? Also, is the JSON a single object or an array of objects? Are there any performance requirements? Resource e.g. maximum memory usage?

    Thanks, Christian


    #B2B-Integration
    #webMethods-io-Integration
    #API-Gateway
    #API-Management
    #Flow-and-Java-services
    #webMethods-io-B2B
    #Integration-Server-and-ESB
    #webMethods