Reading JSON file - data type mismatch

Comments

4 comments

  • Avatar
    Adrian Williams

    Hi Martin,

    can you please provide a bit more detail on how the data is being processed by the node.

    Is the json coming in via an input pin?

        If via an input pin, is this a unicode or string field?

        If via a file, what is the Charset set to on the node?

    And how is the node configured to output character data (CharacterDataOutputFieldType)?

    Thanks,

    Adrian

    0
    Comment actions Permalink
  • Avatar
    Martin Hamilton

    Hi Adrian - I played around with the CharacterDataOutputFieldType and changed it to Unicode and it read the input pin in OK!

     

    Many Thanks for the pointer:)

     

    cheers

    Martin

    0
    Comment actions Permalink
  • Avatar
    Martin Hamilton

    Sorry I have another issue now...the HTTP request works great and pulls back the data required. However I am using an input field which is the URL to be targetted but the response doesnt pass back the original value I am querying or have.

     

    So is there a way of passing back the original HTTP request i.e. the Url (from field) value? So that I have 2 fields in the response:

    Url | Data

    Thanks

    Martin

    0
    Comment actions Permalink
  • Avatar
    Stony Smith

    Many nodes, JSON, XML, HTTP  have the "Pass Thru Fields" parameter that provides this very feature.

    0
    Comment actions Permalink

Please sign in to leave a comment.



Powered by Zendesk