question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Json is represented as "type": "object"

See original GitHub issue

It should be generated as

{         
  "anyOf": [
        { "type": "object" },
        {
          "type": "array"
        }
      ]
}

it is generated as

{"type": "object"}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
valentinpalkoviccommented, Jan 25, 2022

Alright! I will adjust my MR tomorrow and I will release a new version afterwards! I will let you know.

0reactions
capajcommented, Jan 26, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON Data Types - W3Schools
Valid Data Types. In JSON, values must be one of the following data types: a string; a number; an object (JSON object); an...
Read more >
JSON | Data Types - GeeksforGeeks
JSON supports mainly 6 data types: string; number; boolean; null; object; array. Note: string, number, boolean, null are simple data types ...
Read more >
JSON - DataTypes - Tutorialspoint
Object · It is an unordered set of name/value pairs. · Objects are enclosed in curly braces that is, it starts with '{'...
Read more >
JSON Types, Functions, and Uses with Examples - Spiceworks
An object is a data type in JavaScript Object Notation that is made up of unordered or non-structured sets of data represented as...
Read more >
Introduction to JSON - Java EE
JSON defines only two data structures: objects and arrays. An object is a set of name-value pairs, and an array is a list...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found