Core APIs
JSON
Convert a JSON Object from one format to another
2 min
convert the json from one format to the other based on the substitutions from given input into the defined output options possible values,default description replace if not found yes/no, default is no if a specific item is not found in a list it will be replaced by an empty string e g "" api definition { "tab" "examples", "url" "https //orca pathfix com/functions/json/replacefrominput", "name" "convert json api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" {\n\t\t\\"name\\" \\"bruce wayne\\"\n\t\t\\"eml\\" \\"bruce\@dc com\\"\n\t} \n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n\t\\"input\\" {\r\n\t\t\\"first name\\" \\"bruce\\",\r\n\t\t\\"last name\\" \\"wayne\\",\r\n\t\t\\"email\\" \\"bruce\@dc com\\"\r\n\t},\r\n\t\\"output\\" {\r\n\t\t\\"name\\" \\"{{first name}} {{last name}}\\"\r\n\t\t\\"eml\\" \\"{{email}}\\"\r\n\t},\r\n\t\\"replace if not found\\" \\"\\" \r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }