Code Monkey home page Code Monkey logo

Comments (6)

se38 avatar se38 commented on September 15, 2024

Thank you @xrevilla for your report. Will have a look at it and let you know.

from zjson.

se38 avatar se38 commented on September 15, 2024

@xrevilla can you please give me the definition of "tt_app_skus" to test with your example?

from zjson.

xrevilla avatar xrevilla commented on September 15, 2024

@xrevilla can you please give me the definition of "tt_app_skus" to test with your example?

Yes, sorry, it's the following:
TYPES: tt_app_skus TYPE STANDARD TABLE OF string
WITH NON-UNIQUE DEFAULT KEY.

Greetings!

from zjson.

se38 avatar se38 commented on September 15, 2024

I've created a new branch named "issue-34-name-mappings" with your suggestions (with a little difference because of downward compatibility).

Your example works with your test data.
Can you please check with additional data?

from zjson.

xrevilla avatar xrevilla commented on September 15, 2024

Hello @se38 ,

I've tested with your changes and it works without any problems. I've tested also with a modified version of the json in my first example:
[{"crmId":"CRM2022-0011","userId":"718e9fa4-599a-47b6-b66a-2673e30941d4","purchaseDate":"2022-02-25T00:00:00","updateDate":"2022-02-25T10:47:34.983","status":"alta","price":1,"purchaseProducts":[{"crmId":"JUE2","description":"El Test Digital","price":1,"purchaseDate":"2022-02-25T10:27:19.222Z","endDate":"2022-02-25T10:27:19.222Z","appId":"elTest","appSkus":["es.test.test.10"],"rights":[]}],"purchaseInfo":{"email":"[email protected]","password":null,"name":"Test","surname":"Test"},"id":51},{"crmId":"CRM2022-0011","userId":"718e9fa4-599a-47b6-b66a-2673e30941d4","purchaseDate":"2022-02-25T00:00:00","updateDate":"2022-02-25T10:50:36.677","status":"bajaa","price":1,"purchaseProducts":[{"crmId":"JUE2","description":"El Test Digital","price":1,"purchaseDate":"2022-02-25T10:27:19.222Z","endDate":"2022-02-25T10:27:19.222Z","appId":"elTest","appSkus":["es.test.test.10", "es.test.test.11", "es.test.test.12", "es.test.test.13"],"rights":[]}],"purchaseInfo":{"email":"[email protected]","password":null,"name":"Test","surname":"Test"},"id":52},{"crmId":"CRM2022-0011","userId":"718e9fa4-599a-47b6-b66a-2673e30941d4","purchaseDate":"2022-02-25T00:00:00","updateDate":"2022-02-25T11:10:41.56","status":"baja","price":1,"purchaseProducts":[{"crmId":"JUE2","description":"El Test Digital","price":1,"purchaseDate":"2022-02-25T10:27:19.222Z","endDate":"2022-02-25T10:27:19.222Z","appId":"elTest","appSkus":["es.test.test.10"],"rights":[{"info":"Info Test"}]}],"purchaseInfo":{"email":"[email protected]","password":null,"name":"Test","surname":"Test"},"id":53}]

This also works ok (with rights and more entries in appSkus).

To me it's working well and can be closed if you agree.

Thanks!

from zjson.

se38 avatar se38 commented on September 15, 2024

Merged

from zjson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.