skip to Main Content

Filter a value from json array of arrays

This is my payload, here I need to validate the status field as active or inactive in details.addressDesc array { "id": "123", "address": [ { "type": "ABC", "name": "name" } ], "details": [ { "Firstname": "firstname1", "lastname": "lastname1", "addressDesc": […

VIEW QUESTION

Extract json data

I want to be able to extract all values from json in snowflake contains "_sum". I have this format for example: {"260196":7877,"260206":2642,"260216":7620,"260226":7560,"_sum":25699} {"260196":9804,"260206":9804,"260216":9487,"260226":9411,"_sum":38506} I want this results: Total Value _sum 25699 _sum 38506 I try to used this: , TO_VARCHAR(GET_PATH(PARSE_JSON(x),…

VIEW QUESTION

JSONPath to reference json inside of json

This is on AWS Eventbridge input transformer, AWS UI not code So i have a JSON { "version": "0", "id": "437e4ed4-8ee1a178", "detail-type": "blah", "source": "blahblah", "account": "011604459942", "time": "2023-11-20T23:20:14Z", "detail": { "transaction_id": 6787, "customer_id": 1234, ... "created_at": "2023-11-21T10:19:40.929+11:00", "updated_at": "2023-11-21T10:19:52.425+11:00"…

VIEW QUESTION
Back To Top
Search