microsoft / microsoft/json-document-transforms
Json transformation loses data
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 115
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Copied from: https://github.com/Microsoft/slow-cheetah/issues/107
Trying to replace whole file which contains date with zero'es as milliseconds results in transformed file losing those zero'es
Transformation file:
{
"value": "2017-12-20T20:10:00.0000000"
}
Transformed file:
{
"value": "2017-12-20T20:10:00"
}
Expected transformed file:
{
"value": "2017-12-20T20:10:00.0000000"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the transformation using the JSON shown in the issue and compare the generated value with the expected output. The issue names no source file or test, so locate the transformation entry point and its tests first. Done means fractional trailing zeros in date values are preserved in the transformed file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100