Jump to content
We've recently updated our Privacy Statement, available here ×

Fixed. Finding matching value and modifying it


kliuvinis1

Recommended Posts

Hello,

I'm a new newbie on Jasper and I need some help. I'm working with JSON data and the question is,  Is it possible to make it where the amount is matching ( the amount that matched is 10) print out only once and cut the date that it would look smt like this 10 (2022 01 01 - 2023 01 31)? 

This is how it looks now.

converted-file.png.6cf9df88ce0471f793e3d63b8e6bfa05.png

This is the data.
                  "insuranceProductName":"Personal accident insurance",
                  "productPackage":null,
                  "insuredPeriodBegin":"01.01.2022",
                  "insuredPeriodEnd":"31.12.2026",
                  "firstYearSumInsured":10000,
                  "lastYearSumInsured":10000,
                  "premiumFirstYear":10,
                  "paymentGraph":[
                     {
                        "year":1,
                        "paymentPeriodBegin":"01.01.2022",
                        "paymentPeriodEnd":"31.12.2022",
                        "insuranceSum":30000.0,
                        "premiumPerPeriod":10
                     },
                     {
                        "year":2,
                        "paymentPeriodBegin":"01.01.2023",
                        "paymentPeriodEnd":"31.12.2023",
                        "insuranceSum":30000.0,
                        "premiumPerPeriod":20
                     },
                     {
                        "year":3,
                        "paymentPeriodBegin":"01.01.2024",
                        "paymentPeriodEnd":"31.12.2024",
                        "insuranceSum":30000.0,
                        "premiumPerPeriod":20
                     },
                     {
                        "year":4,
                        "paymentPeriodBegin":"01.01.2025",
                        "paymentPeriodEnd":"31.12.2025",
                        "insuranceSum":30000.0,
                        "premiumPerPeriod":20
                     },
                     {
                        "year":5,
                        "paymentPeriodBegin":"01.01.2026",
                        "paymentPeriodEnd":"31.12.2026",
                        "insuranceSum":30000.0,
                        "premiumPerPeriod":20
                     }
                  ],

 

Thank you some much.

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...