This module doesn’t seem to belong in `cardano-sl-core` and would be better placed in the `cardano-sl-util` package. This also assists me with [CDEC-512](https://iohk.myjetbrains.com/youtrack/issue/CDEC-512) as I need access to `SchemaError` from `Test.Pos.Util.Golden` for a new function, `goldenTestCanonicalJSON`.
## Linked issue
## Type of change
— [ ] 🐞 Bug fix (non-breaking change which fixes an issue)
— [ ] 🛠 New feature (non-breaking change which adds functionality)
— [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change)
— [x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
— [ ] 🔨 New or improved tests for existing code
— [ ] ⛑ git-flow chore (backport, hotfix, etc)
## Developer checklist
— [x] I have read the [style guide](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/style-guide.md) document, and my code follows the code style of this project.
— [ ] If my code deals with exceptions, it follows the [guidelines](https://github.com/input-output-hk/cardano-sl/blob/develop/docs/exceptions.md).
— [ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on [cardanodocs.com](https://github.com/input-output-hk/cardanodocs.com), amending the inline [Haddock](https://www.haskell.org/haddock/) comments, any relevant README file or one of the document listed in the [docs](https://github.com/input-output-hk/cardano-sl/tree/develop/docs) directory.
## Testing checklist
— [ ] I have added tests to cover my changes.
— [x] All new and existing tests passed.
## QA Steps
## Screenshots (if available)
You can view, comment on, or merge this pull request online at:
— Commit Summary —
* [CDEC-513] Move Pos.Core.Genesis.Canonical to Pos.Util.Json.Canonical
— File Changes —
M core/cardano-sl-core.cabal (1)
M core/src/Pos/Core/Common/Address.hs (2)
M core/src/Pos/Core/Common/Coeff.hs (2)
M core/src/Pos/Core/Common/Coin.hs (2)
M core/src/Pos/Core/Common/CoinPortion.hs (2)
M core/src/Pos/Core/Common/SharedSeed.hs (2)
M core/src/Pos/Core/Common/StakeholderId.hs (2)
M core/src/Pos/Core/Common/TxFeePolicy.hs (2)
M core/src/Pos/Core/Configuration.hs (2)
M core/src/Pos/Core/Genesis.hs (4)
M core/src/Pos/Core/Genesis/AvvmBalances.hs (2)
M core/src/Pos/Core/Genesis/Data.hs (2)
M core/src/Pos/Core/Genesis/NonAvvmBalances.hs (2)
M core/src/Pos/Core/Genesis/ProtocolConstants.hs (2)
M core/src/Pos/Core/Genesis/VssCertificatesMap.hs (2)
M core/src/Pos/Core/Genesis/WStakeholders.hs (2)
M core/src/Pos/Core/ProtocolConstants.hs (2)
M core/src/Pos/Core/Slotting/EpochIndex.hs (2)
M core/src/Pos/Core/Slotting/Timestamp.hs (2)
M core/src/Pos/Core/Ssc/VssCertificate.hs (2)
M core/src/Pos/Core/Update/BlockVersionData.hs (2)
M core/src/Pos/Core/Update/SoftforkRule.hs (2)
R util/Pos/Util/Json/Canonical.hs (6)
M util/cardano-sl-util.cabal (1)
— Patch Links —