webMethods

 View Only
  • 1.  pub.json:documentToJSONString conversion issue

    Posted Sun July 25, 2021 07:21 AM

    when using the “pub.json:documentToJSONString”( to convert the huge IData object(nested document structure) into the JSON string) I have observed only partial content is coming(ending with dots “……”)

    Am not sure what is the limitation over hear.

    Can any one help me, How to


    handle this scenario ?


    #webMethods
    #B2B-Integration


  • 2.  RE: pub.json:documentToJSONString conversion issue

    Posted Sun July 25, 2021 01:19 PM

    Are you sure it is truncated, how are you visualising the result, Designer ?
    or are you writing the file somewhere and looking at that ?
    regards
    John.


    #webMethods
    #B2B-Integration


  • 3.  RE: pub.json:documentToJSONString conversion issue

    Posted Sun July 25, 2021 01:41 PM

    Hello John Carter,
    Yes it is truncated and Identified from designer ?

    Thank you,
    Charan K


    #webMethods
    #B2B-Integration


  • 4.  RE: pub.json:documentToJSONString conversion issue

    Posted Sun July 25, 2021 01:48 PM

    That is probably just Designer which is doing the truncating, you will probably find that the entire string is in memory on the IS side. You can verify that by writing it to a file. I think you are probably okay.
    regards,
    John.


    #B2B-Integration
    #webMethods


  • 5.  RE: pub.json:documentToJSONString conversion issue

    Posted Tue July 27, 2021 02:30 AM

    Hello John Carter,

    Yes that’s correct. In file it is showing exact JSON content.
    Thank you for your quick help.

    Regards,
    Charan K


    #B2B-Integration
    #webMethods