Code Monkey home page Code Monkey logo

Comments (7)

sunjw avatar sunjw commented on July 3, 2024

There must be some code formatters in NuGet. If you really want to use the code from this plugin, you can wrap the C++ code with C#.

from jstoolnpp.

SalmaBegumJSR avatar SalmaBegumJSR commented on July 3, 2024

There must be some code formatters in NuGet. If you really want to use the code from this plugin, you can wrap the C++ code with C#.

wow!
you responded sir? i am so amazed! thanks a lot..

i am sorry to say.. but i don't want to use another nuget library/reference just to format my json text, so, yes i like to use your plugin code.

but again, as i have zero knowledge on c++, i really need your help to give me the code in c#? please? only the code to format the json string/text.

however, if you don't want or have enough time to write in c#, then you can just give me the function code in c++, i will try to convert them to c# using online resources..

thanks again

best regards

from jstoolnpp.

SalmaBegumJSR avatar SalmaBegumJSR commented on July 3, 2024

@sunjw as per your suggestion, i have do some nuget search and find a project as follows:
Json Formatter Plus

but this does not produce the formatted json as yours one does :(

this exactly produce same format what is currently i able to do, please check the following link:
How To Format Json Text Properly

thanks in advance for your upcoming help/support

best regards

from jstoolnpp.

sunjw avatar sunjw commented on July 3, 2024

I don't think you need much knowledge of C++ to implement your idea. It's just call some function like C#.
You can refer to "sub-proj\JSFormatterTest\src\JSFormatterConsole.cpp", it is a very simple test code for formatter.

from jstoolnpp.

SalmaBegumJSR avatar SalmaBegumJSR commented on July 3, 2024

@sunjw ,
dear sir, i even tried most of the solution from following link:

https://stackoverflow.com/questions/4580397/json-formatter-in-c

none of them are even close to yours :(

how did you find that logic? it's a GEM :)

best regards

from jstoolnpp.

SalmaBegumJSR avatar SalmaBegumJSR commented on July 3, 2024

@sunjw
if you don't mind do you know any one who knows both c++ and c#? who could help me to do the conversion? please?

best regards

from jstoolnpp.

sunjw avatar sunjw commented on July 3, 2024

Couldn't answer your last question.

from jstoolnpp.

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.