Questions tagged [jsonparser]

Questions concerned with parsing JSON files using either built-in, third-party or custom built JSON parsers. Questions about implementing JSON parsers are valid too.

Questions concerned with parsing JSON files using either built-in, third-party or custom built JSON parsers. Questions about implementing JSON parsers are valid too.

607 questions
2
votes
0 answers

How to display the books of specific users stored in google books using google books api??

I am trying to make an android app for tracking the list of books read by users. I successfully completed the search for books using keywords with google books API. Now I need to display the books added by users to their google books bookshelf. I…
sibin
  • 107
  • 9
2
votes
1 answer

Emoji Encoding and Decoding erlang from list to binary

I want this string to be parsed for VOIP Notification for iOS to binary string: "{\"data\":{\"text\":\"❤️\"}}" I expected the data printed on the Erlang shell to be: <<"{\"data\":{\"text\":\"❤️\"}}">> But when printed it…
2
votes
1 answer

parse value from JSON object with dynamic key in VBScript

Actually I want to get value from a JSON with Dynamic key in VBScript. I try to find similar question if any body asked already but nothing find for VBScript. So below is a sample json: { "assessmenttype": [{ "id": "129666", …
Aashish Kumar
  • 1,563
  • 1
  • 15
  • 19
2
votes
1 answer

Parsing json with broken remote API

Here is my model class data class Article( val id: Int? = 0, val is_local: Boolean? = false, val comments: List? = listOf()) and here is json { "id": 33, "is_local": "true", "comments": [ …
shakil.k
  • 1,623
  • 5
  • 17
  • 27
2
votes
2 answers

Accessing Inner nested JSON Array of Message Element in C#

Im trying to access inner JSON message Array Element as shown below in the sample JSON string. {"chats": [ //////////1ST…
ForzaC
  • 43
  • 8
2
votes
1 answer

How can I parse a JSON file from Assets folder in UWP - Closed

I am new developing windows UWP app and I am trying to parse a JSON file from my assets folder. I've seen many tutorials, but when I tried they don't work. Please, someone help me to parse it and if you can with an example. I am using VS2017 and…
Mister JJ
  • 292
  • 1
  • 3
  • 13
1
vote
0 answers

com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of

How to Serialize and de-serialize below object using jackson library ? public class Notification2 implements Serializable { private String eventTypeName; private TerminationPoint_T tpObj; public Notification2() { } …
Techiee
  • 11
  • 2
1
vote
1 answer

How to parse nested array in JSON using gojsonq

I have a JSON and want to parse the nested array using https://github.com/thedevsaddam/gojsonq { "total": 2, "page": 1, "pageSize": 50, "data": [ { "id": "vm-12345", "host_id":"host-12345", "name": "MyVirtualMachine", …
Programming-Lover
  • 1,177
  • 10
  • 14
1
vote
1 answer

exploding the struct with no arrays pyspark

I have json data like { "labels1": {"A":1,"B":2, "C":3}, "labels2": {"A":1,"B":2, "C":3}, } and I want 3 output columns that say tagname, keyname,value. The final output will be…
1
vote
1 answer

DEFAULT_PATH_LEAF_TO_NULL in jsonPath not working

JSON { "abc": { "country": [ { "city": "JODHPUR" } ] } } JSONPath Configuration private static final Configuration suppressExceptionConfiguration = Configuration .defaultConfiguration() …
SRJ
  • 2,092
  • 3
  • 17
  • 36
1
vote
1 answer

JSON Object to Array with Attribute Name using Power Automate

I am trying to create columns in a SharePoint List from JSON using Power Automate flow. I managed to create a column with a "Send an HTTP request to SharePoint" manually using : { "__metadata": { "type": "SP.Field" },"FieldTypeKind":…
Mano_Ala_1
  • 13
  • 3
1
vote
1 answer

How to rename field names in a nested array created from input JSON using JOLT transformation without changing anything else

I started with an input JSON as such. { "trackingNumber": "1ZEA83550362028861", "localActivityDate": "20210324", "localActivityTime": "183500", "scheduledDeliveryDate": "20210324", "actualDeliveryDate": "20210324", "actualdeliveryTime":…
1
vote
1 answer

How to correct this jolt transformation

I have an input JSON like this. { "trackingNumber": "1ZEA83550362028861", "localActivityDate": "20210324", "localActivityTime": "183500", "scheduledDeliveryDate": "20220525", "actualDeliveryDate": "20220729", "actualdeliveryTime":…
1
vote
1 answer

How to read json file and take in excel using vba

I have an excel cell value [[{"Name":Ashwin ,"Age":64}],[],[{"Name":Shakur ,"Age":64,"Gender":Male}]] I need to display the value of gender in cells. Please find below my code: Option Explicit Sub ExampleSplit() Dim s As String, vx() As String …
1
vote
1 answer

Using json_normalize function to create a relational data model?

I have a nested Python dictionary that I want to convert into a relational model. I am struggling to parse the dictionary into two related tables: a "workspace" table and a "datasets" table - joined by the key workspace_id simplified_dict ={ …
Steve
  • 475
  • 4
  • 12
  • 25