Skip to content

Fix quotes on json - #516

Merged
justinormont merged 1 commit into
dotnet:masterfrom
jwood803:fix-invalid-json
Jul 10, 2018
Merged

Fix quotes on json#516
justinormont merged 1 commit into
dotnet:masterfrom
jwood803:fix-invalid-json

Conversation

@jwood803

Copy link
Copy Markdown
Contributor

Fixes issue #507.

Didn't see any impacted tests for this, but going to see about adding one.

@Ivanidzo4ka Ivanidzo4ka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@TomFinley TomFinley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jwood803 ! I'm not entirely certain that tests for this specific thing are urgent, but maybe they are.

var graphDef = ToEntryPointGraph();

return new PipelineResultRow($"{{'Nodes' : [{graphDef.Graph.ToJsonString()}]}}",
return new PipelineResultRow($"{{\"Nodes\" : [{graphDef.Graph.ToJsonString()}]}}",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Nodes" [](start = 45, length = 9)

not huge fan of composing json strings manually, but I'm fine with this changes.

@justinormont

Copy link
Copy Markdown
Contributor

Greetings @jwood803, what kind test were you looking to add?

@jwood803

Copy link
Copy Markdown
Contributor Author

@justinormont Just one to show that it returns the correct JSON. It's probably overkill and not urgent to add as @TomFinley mentioned. Especially since this change doesn't do much with the functionality.

@sfilipi sfilipi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@justinormont justinormont left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jwood803

@justinormont
justinormont merged commit fbc00db into dotnet:master Jul 10, 2018
eerhardt pushed a commit to eerhardt/machinelearning that referenced this pull request Jul 27, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants