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.

Support for nested maps?

See original GitHub issue

Does strictyaml support nested maps like this one? Is # nesting restricted?

  key: value
  another_key: Another Value
    hello: hello

Issue Analytics

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

github_iconTop GitHub Comments

fkromercommented, Nov 19, 2018

Figured out how to use 1-level deep nested maps. Works just fine. I don’t need deeper nesting right now.

aquatixcommented, Mar 29, 2019

Thanks @crdoconnor I managed to write a schema with the use of nested MapPattern() and Map(). For your info, here it is. It is validating this kind of files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested HashMaps Examples in Java - Baeldung
Nested HashMap is very helpful in storing JSON or JSON-like structures where objects are embedded inside one another.
Read more >
Create nested maps in SolarWinds Platform Maps
Nested maps are created using the SolarWinds Platform Maps Design Tool. Open SolarWinds Platform Maps from My Dashboards and create a new map...
Read more >
Nested Maps in Go Language - Tutorial Kart
In this tutorial, we will learn how to create nested maps in Go language, with the help of example programs. Create Nested Map....
Read more >
Nested Value() and adding data to it - Google Groups
There is no built-in support for nested maps, so for example map<string, map<string, Value>> is not a valid field type. However you can...
Read more >
nested maps - Salesforce Developer Community
Can someone please help with populating nested maps: I have 2 maps: map<id, map<id, ... here is some idea about add values in...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found