JSON export - support for object style, key field, root field

This commit is contained in:
SPRINX0\prochazka
2024-09-17 14:28:31 +02:00
parent f080b18d3f
commit 260b2e4b12
2 changed files with 57 additions and 11 deletions

View File

@@ -22,19 +22,19 @@ const jsonFormat = {
name: 'jsonStyle',
label: 'JSON style',
options: [
{ name: 'Array', value: 'array' },
{ name: 'Array', value: '' },
{ name: 'Object', value: 'object' },
],
apiName: 'jsonStyle',
},
{
type: 'textbox',
type: 'text',
name: 'keyField',
label: 'Key field',
label: 'Key field (only for "Object" style)',
apiName: 'keyField',
},
{
type: 'textbox',
type: 'text',
name: 'rootField',
label: 'Root field',
apiName: 'rootField',