Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inner map can be pointer to map #49

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Inner map can be pointer to map #49

wants to merge 3 commits into from

Conversation

ianic
Copy link

@ianic ianic commented Feb 23, 2016

I'm using go-simplejson in an application for finding differences between two maps. Go-simplejson is a great tool to ease navigation through maps.
I find it useful that maps could have pointers to maps at some levels. When I found two same pointers I know that those levels are the same and don't need to recurse into to find differences.
Helps a lot when finding differences in large similar maps.

Enables Json to have pointers to map at some level.
Adds a method to initialize Json with existing map.
@wpjunior
Copy link

I liked a lot this PR +1 =)

Map was failing with type assertion when the valus was *Json.
@antsbean
Copy link

antsbean commented Nov 1, 2017

I liked a lot this PR +1 =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants