No internet connection
  1. Home
  2. Ideas

JSON Copy action

By Mark Carpenter @mark.carpenter2021-07-25 19:04:02.323Z

Any plans for a JSON Copy action? It's a bit cumbersome to extract fields into unique variables from one JSON structure when all they are needed for is to when create another JSON structure, particularly when there are multiple JSONs that have the data needed to create the final.

Perhaps a variable dot notation within a "Set JSON Element" action or some-such.

  • 2 replies
  1. S
    Stephen Parker @stephenparker2021-07-26 09:44:09.743Z

    We could add an inline function to use a json path. Then you could use a regular field replacement anywhere - that returns a json value from a path. Eg: 'PostCode = %func%:JsonValue(%SomeJsonVar%,"address.postcode")' ?

    1. MMark Carpenter @mark.carpenter2021-07-26 11:17:14.846Z

      I think that would work really well!