Code Monkey home page Code Monkey logo

Comments (6)

sbcgua avatar sbcgua commented on September 25, 2024 1

Ah I've got it, you need to serialize it for the screen. Well, the most proper way would be certainly to have serializer too. So happened that I was working on development of such stuff recently, based on the same code - https://github.com/sbcgua/ajson - I needed it for some own projects. There is just one part remaining to enable serializing - maybe a can finish it during this weekend, then we can integrate it actually and have 2 way conversion possibility. What do you think ?

from abaplint-sci-client.

g-back avatar g-back commented on September 25, 2024

Now possible, but problem: all responses are automatically parsed and the raw json string is lost. Will either have to make a json writer (which seems excessive) or add another "request" method that works with the raw payload. Thoughts? @sbcgua

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

@g-back, not sure I understood the issue well, could you pls give some example ?

from abaplint-sci-client.

g-back avatar g-back commented on September 25, 2024

To get the config from the backend into the SCI config, we need the complete config in "raw" json form, as a string.
Currently, all responses from the backend are automatically parsed with the JSON reader.

option 1) the JSON reader has to have an option to return the raw JSON value as a string (which, unless i'm missing something, would mean to reverse the parsing process or buffer it somehow)
option 2) instead of parsing the JSON of each response by default, allow different types of handling the response (parse the payload json or just retrievee the raw payload json).

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

@g-back have a look to the PR

from abaplint-sci-client.

g-back avatar g-back commented on September 25, 2024

This can be closed I think

from abaplint-sci-client.

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.