Skip to content

Vishal Singh-Module5#87

Open
vishalsingh456 wants to merge 9 commits into
hotwax:mainfrom
vishalsingh456:vishalSingh-Module5
Open

Vishal Singh-Module5#87
vishalsingh456 wants to merge 9 commits into
hotwax:mainfrom
vishalsingh456:vishalSingh-Module5

Conversation

@vishalsingh456

@vishalsingh456 vishalsingh456 commented May 22, 2023

Copy link
Copy Markdown

I have learned Basics of Jolt.
Along with that I have explored

  • functions of Jolt (toUpper, intSum, doubleSum, etc)
  • Operations (shift, modify-default-beta, modify-overwrite-beta, default, etc)
  • Wildcards (@,#,$,&, |, * )
  • Uses of Jolt (JSON to JSON conversion. change the structure of json.)
  • advantages and disadvantages of Jolt
  • Levels of Json.

Comment thread Module 5/Question 1/Problem1.json Outdated
"itemId": 2,
"name": "Product B",
"quantity": 1,
"price": 20

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Price should have double type value, please correct in all questions.


{
"Name": "John",
"Hobbies": [

@sadhanaa21 sadhanaa21 Jun 2, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Age field is missing.

}


Json spec

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong approach and output as well.

Comment thread Module 5/Question 14/Problem14.json Outdated

Ouput Json

[

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the required output structure also one field is missing.

"totalAmount": "=intSum(@(1,totalAmount))",
"id": "@(1,orders[0].customerId)"
},
"[0]": {

@sadhanaa21 sadhanaa21 Jun 2, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

totalPrice field is missing in output.
Also using customerId instead of index to add name will be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants