Comments (7)
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.
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.
@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.
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.
@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.
@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.
Couldn't answer your last question.
from jstoolnpp.
Related Issues (20)
- Jumping to proper location by selecting a node in tree view in multi-display PCs HOT 2
- [bug] AltGr + J blocks typing of "í" letter (HU) HOT 2
- Template literals format bug HOT 1
- Crash formatting JSON code HOT 1
- jstool插件移植到ndd/subtwo项目 HOT 1
- JSON style autoformat (JSFormat command) HOT 2
- Support for modern JS HOT 2
- Add an option in the Notepad++ menu to escape and unescape a JSON string HOT 1
- ROOT to $ HOT 2
- JSFormat bug in regular expression (Version 1.2307.1) HOT 1
- https://* format to http: //* HOT 1
- @Override format to _@ Override HOT 2
- Bitdefender detection of JSMinNPP.dll HOT 3
- Names with hyphens are separated HOT 2
- jsformat issue HOT 1
- Keyboard Shortcuts Should be configurable. HOT 1
- json viewer not visible? HOT 3
- Hard crash of 32bit NPP when formatting a single line of JSON HOT 2
- Convert JS object to JSON HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jstoolnpp.