github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/demo/25_json_nested.yaml (about)

     1  title: test
     2  desc: 描述
     3  version: 1.0
     4  fields:
     5    - field: join_false
     6      mode: r
     7      postfix: "\t"
     8      fields:
     9        - field: child1
    10          range: A-C
    11          prefix: PART1_
    12          postfix: ' | '
    13  
    14        - field: child2
    15          range: a-c
    16          prefix: part2_
    17  
    18    - field: join_true
    19      mode: p
    20      join: true
    21      fields:
    22        - field: child1
    23          range: A-C
    24          prefix: PART1_
    25          postfix: ' | '
    26        - field: child2
    27          range: a-c
    28          prefix: part2_
    29          postfix: ' | '
    30        - field: child3
    31          fields:
    32            - field: child1
    33              range: A-F
    34              prefix: CHILD1_
    35              postfix: ' | '
    36            - field: child2
    37              range: a-c
    38              prefix: CHILD2_
    39  
    40    - field: array
    41      mode: p
    42      fields:
    43        - field: child1
    44          range: A-C
    45          prefix: PART1_
    46          postfix: ' | '
    47        - field: child2
    48          range: a-c
    49          prefix: part2_
    50          postfix: ' | '
    51        - field: child3
    52          fields:
    53            - field: child1
    54              range: A-F
    55              prefix: CHILD1_
    56              postfix: ' | '
    57            - field: child2
    58              range: a-c
    59              prefix: CHILD2_