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

Support importing unterminated JSON in simple cases #208

Merged
merged 2 commits into from
Feb 18, 2019

Conversation

jlfwong
Copy link
Owner

@jlfwong jlfwong commented Feb 18, 2019

This PR introduces support for importing JSON based profiles that are missing a terminating ] (and possibly have an extraneous ,).

This is similar to #202, but takes a much more targeted and simple approach.

I'm confident that this approach is sufficient because this is exactly what chrome://tracing does: https://github.com/catapult-project/catapult/blob/27e047e0494df162022be6aa8a8862742a270232/tracing/tracing/extras/importer/trace_event_importer.html#L197-L208

Fixes #204

@jlfwong jlfwong merged commit 66a9e5d into master Feb 18, 2019
@jlfwong jlfwong deleted the jlfwong/partial-json branch February 18, 2019 02:32
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.

None yet

1 participant