The front end displays JSON to the end-user in JSON mode and other places.
This JSON should be in the canonical format to make it a bit easier to read.
The front end displays JSON to the end-user in JSON mode and other places.
This JSON should be in the canonical format to make it a bit easier to read.
This task is mostly complete, as I have a canonicalize function in the UI that performs this task. It is not reliant on the function-schemata at this time. I'm unsure whether the two canonicalize functions can be combined, as they handle different use cases (the canonicalizer in the frontend also handles undefined keys, for example, and has no additional validation/error reporting).
Based on our meeting yesterday, and Cory's work on implementing the schemata tests in the UI, I think we can safely say that this task is complete once the tests are in place.