Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am having WPF application and have a requirement to implement a JSon editor in XAML.

What I have tried:

Can some help or guide me on how to do we implement that.
Posted
Updated 14-Mar-23 0:19am
Comments
Richard MacCutchan 14-Mar-23 4:29am    
You need to research some of the open source editors that are available, and modify it to your requirements.
Graeme_Grant 14-Mar-23 4:48am    
If you are asking someone to write it for you, then ask here: Fiverr[^] or here: Freelancer[^]
[no name] 14-Mar-23 19:53pm    
https://github.com/RicoSuter/VisualJsonEditor

I just did a Google Search, as Richard suggested, and there were a few results. Here is the search used: github json viewer wpf - Google Search[^] and this was the first result: GitHub - functionGHW/JsonTextViewer: a simply WPF app to format json text return from a web request[^]
 
Share this answer
 
Your question is very vague, and could mean a number of things. For instance, if you just want an editor to enter text and save to a file with the .json extension, then a simple textbox and a form is enough. If you want to be able to cater towards providing auto-completion on your json, then this is more complex and you're going to be looking to implementing something more complicated - again, inside the same TextBox. What about the ability to edit massive files? You're going to be looking at more complicated again, and while the TextBox would be the same, the internals of the app would be vastly different. Colourising text? Yup, more complex still.

The bottom line - work out what your requirements are first. Don't try to solutionise until you know what it is you want to build. Then start simple and gradually build it out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900