# More Detailed Examples in Docs

**URL:** <https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861>\
**Category:** Ignition\
**Tags:** usermanual\
**Created:** [June 9, 2023, 8:39pm UTC](https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861 "2023-06-09T20:39:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [June 9, 2023, 8:39pm UTC](https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861/1 "2023-06-09T20:39:14Z")

</div>

It would be great to have more detailed examples in the docs regarding retrieving values from datasets/dictionaries, in scripts.

For example, if a query returns this into a variable, using scripting on an event action:

```auto
{"columns":[{"name":"","type":"java.lang.Integer"},{"name":"","type":"java.lang.Integer"}],"rows":[[103864,4031]]}

```

What is the return string format/language?  
How would someone get either of the two integer values?  
We could use a PyDataset, or JSON, or some function such as `getValueAt()`

The examples in the docs are very simple and don't really cover this topic well. I use databases a lot and can return what I need with SQL, but attempting to sort through a dataset with Python or JSON is a steep hill to climb.

Having said that, shout out to all the people on the forums that have taught me along the way.

So, just a thought to add to the docs...  
Mike

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 9, 2023, 9:04pm UTC](https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861/2 "2023-06-09T21:04:09Z")

</div>

There isn't really a particular name for this format. This looks like one possible "flattening" of a dataset into native Python objects. Native Python lists and dictionaries also map well to JSON, so you can kind of squint and call this format JSON-like.

There's not a ton to "explain", here, though. You access members like you access members of any other Python dict or list. It's all still Python.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [June 9, 2023, 10:05pm UTC](https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861/3 "2023-06-09T22:05:19Z")

</div>

So what you're saying is: Take the Inductive Training Classes! 🤣

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 9, 2023, 10:25pm UTC](https://forum.inductiveautomation.com/t/more-detailed-examples-in-docs/74861/4 "2023-06-09T22:25:46Z")

</div>

Not really, it's more a Python class. IA scripting classes might go into it, but any basic Python class will get you there too
