Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KunalBhade-Module5 #90

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

kunal15112001
Copy link

In this Module, I have learned several concepts in JOLT: -

Jolt (JsOn Language for Transform) is a open source transformation library, written in Java that allows a developer to convert one JSON structure to another to get desired output.

  1. Operations
  • shift
  • remove
  • sort
  • cardinality
  • default
  • modify-default-beta
  • modify-overwrite-beta
  1. Wildcards
  • Ambersand (&)
  • Asterisk (*)
  • Hash (#)
  • dollar ($)
  • @
  • Pipe (|)
  1. Functions
  • Number functions
  • String functions
  • List functions
  • Type conversion functions

@kunal15112001 kunal15112001 changed the title Solved all Problems of Module-5 JOLT Transformation KunalBhade-Module5 May 22, 2023
"items": {
"*": {
"*": "orders[&3].items[&1].&",
"newprice": "orders[&3].&"
Copy link

Choose a reason for hiding this comment

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

It should be total instead of newprice

Copy link
Author

Choose a reason for hiding this comment

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

Corrected the output and changed the name to total instead of newprice.

"*": {
"id": "products.[&1].&",
"name": "products.[&1].&",
"ans": "products.[&1].&"
Copy link

Choose a reason for hiding this comment

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

There should be price instead of ans

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