Bash Script for JSON Data Extraction

Job ID: 38187008

Budget: $10 – $30 USD

I need a bash script to extract specific data from a JSON file. The file contains three different scenes, and I wish to extract the scene details and character names in JSON format.

- The script should:
- Be written in bash
- Extract scene details and character names from the JSON file
- Output the extracted data in JSON format
- Perform error handling to only check for incorrect file format, not missing data

Ideal skills for this job include:
- Proficiency in bash scripting
- Experience in JSON parsing
- Good understanding of error handling
- Strong knowledge of data extraction techniques

At Reading the json file, evaluate 3 principal nodes (Tiendas,Cedis_Ropa,Cedis_muebles) if they are not null read inside nodes (subnodes)

set into 2 variables the value for each node

if (tiendas != null)
{
fiTiendas= tiendas.length (number of nodes)

for (int i = 0; i <= fiTiendas i++)
{
vcedis= json.tiendas.cedis
vappname= json.tiendas-appname
}
}

same for:
Cedis_Ropa
vcedisR= json.tiendas.cedis
vappname= json.tiendas-appname

and Cedis_muebles
vcedisM= json.tiendas.cedis
vappname= json.tiendas-appname

it code must run on azure pipleline



3 scenary an atached files
Related categories: Shell Script Bash Scripting