Skip to content

Not to include the path in the resultant json #6

@SridharGS

Description

@SridharGS

Hi
I have a project structure like this

Main

  • P1
  • i18n_en
  • i18n_de
  • P2
    • i18n_en
    • i18n_de
  • P3
    • ....
      etc

I want to create final_en.json with content only without the folder paths, and similarly for final_de.json.
so the source for en src will be

src: /Main/*/i18n_en

Output en json will look like

                 {
                     {   contents of p1 i18n_en },
                     {   contents of p2 i18n_en },
                       etc........
                  }

Is it possible to create something like this please let me know , if yes can you please give me an example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions