Forum Discussion

reuben's avatar
reuben
New Contributor
2 years ago

jsonpath in expression library

I would like to use a jsonpath in an expression library, but I am unsure of the syntax with parameters.

custfield is a json array of custom field data and fieldname is a string

This is what I attempted:

{
customField: (custfield,fieldname) => jsonPath($, "custfield[*]").find(f=>f.FieldName==fieldname)
}

What should the syntax be?

2 Replies

    • lazo_ilijoski's avatar
      lazo_ilijoski
      New Contributor III

      Hi @munish,

      When you configure a Postgres account with SLL in Snaplogic you have to set Url property sslmode. Below is an example:

      Regards,
      Lazo