AzureCosmosDB / data-migration-desktop-tool

MIT License
122 stars 46 forks source link

Can I include InternalFields and Prettify the JSON output like the *other* tool did? #99

Closed jasonnaylor-tester closed 7 months ago

jasonnaylor-tester commented 9 months ago

The other (old/previous/deprecated) azure-documentdb-datamigrationtool had a couple of fields for prettifying the output and including the internal fields:

/t.Prettify:true
/s.InternalFields:true

I can't seem to find anything similar in the syntax or migrationsettings.json - am I missing something, or are these options not available in this tool?

jasonnaylor-tester commented 9 months ago

I found the answer to one of my queries: you can use the IncludeMetadataFields flag for the internalFields:

"IncludeMetadataFields": true,

bowencode commented 7 months ago

The JSON extension includes an "Indented" option for formatting as indented and multi-line. This should be included in the SinkSettings.

https://github.com/AzureCosmosDB/data-migration-desktop-tool/blob/main/Extensions/Json/README.md#sink