Skip to content

NSK-Unarchiver was unable to parse objects with named keys in the $top array#184

Open
danielpaulus wants to merge 6 commits into
mainfrom
fix/topNSKAParser
Open

NSK-Unarchiver was unable to parse objects with named keys in the $top array#184
danielpaulus wants to merge 6 commits into
mainfrom
fix/topNSKAParser

Conversation

@danielpaulus

Copy link
Copy Markdown
Owner

I kind of assumed objects in there would always be "$0" "$1" "$2"... etc.
Seems like regular strings are also supported. So I am wrapping the extracted objects into a map[string]interface{} now and is the first object of []interface{} that the Unarchiver function returns. Not pretty, but works for now.

  • add testcase parsing a plist with that pattern
  • fix the issue by returning []interface{}{ map[string]interface{}{objects...} }

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant