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.

Allow JSON data directly on Data Resource `data` attribute

See original GitHub issue

@pwalsh i’m concerned that the new setup where data is not allowed to be JSON is going to be a bit of a pain …

Rather than:

"data": [
        {"x": 1,  "y": 28}, {"x": 2,  "y": 55},
        {"x": 3,  "y": 43}, {"x": 4,  "y": 91},
      ]

I have to do:

“data": // some json pointer to _values (and i don’t even know how json pointer works!
// arbitrary naming!
"_values": [
        {"x": 1,  "y": 28}, {"x": 2,  "y": 55},
        {"x": 3,  "y": 43}, {"x": 4,  "y": 91},
      ]

I anticipate this being a relatively big deal for certain implementors …

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pwalshcommented, May 29, 2017

@rufuspollock can this be closed?

0reactions
rufuspollockcommented, May 30, 2017

DUPLICATE. Of #414 (which is FIXED).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Store JSON object in data attribute in HTML jQuery
data (obj) syntax allows you to store an object on the DOM element. Inspecting the element will not show the data- attribute because...
Read more >
Creating a custom xUnit theory test DataAttribute to load data ...
In this post, I showed how you could create a custom DataAttribute called JsonFileDataAttribute to load data from a JSON file.
Read more >
Work with JSON data - SQL Server - Microsoft Learn
JSON functions, first introduced in SQL Server 2016, enable you to combine NoSQL and relational concepts in the same database.
Read more >
How to Read JSON Data and Insert it into a Database
Read a JSON file and insert the data into a database such as MySQL, Microsoft SQL Server, ... On the Read JSON task,...
Read more >
How To Work with JSON in MySQL - DigitalOcean
Learn how to use and query JSON data in your MySQL databases.
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