You are here: PSPad forum > English discussion forum > JSON files support

JSON files support

Goto Page: Previous1 2

#11 Re: JSON files support

Posted by: Gorlash | Date: 2015-01-13 20:43 | IP: IP Logged

Okay, but still, neither my symbols, nor my keywords, are getting colored; they are all in the "identifier" color, along with all other text in the file...

Options: Reply | Quote | Up ^


#12 Re: JSON files support

Posted by: Gorlash | Date: 2015-01-16 17:33 | IP: IP Logged

So, is this just a "oh well, sorry about that" issue??

Options: Reply | Quote | Up ^


#13 Re: JSON files support

Posted by: pspad | Date: 2015-01-16 21:01 | IP: IP Logged

Sorry Gorlash. I am very hurry in my work now. First intention now for me is remove the worst problems and publish new version. There are more serious problem that this one.

Options: Reply | Quote | Up ^


#14 Re: JSON files support

Posted by: Gorlash | Date: 2015-01-17 16:02 | IP: IP Logged

Oh! Okay, that's cool... Thanks for the note; I'm looking forward to new version with other changes!

Options: Reply | Quote | Up ^


#15 Re: JSON files support

Posted by: pythonui | Date: 2015-08-05 06:53 | IP: IP Logged

Is there any possibility to define highlighter for JSON file as they are now very common ?

Thanks

Options: Reply | Quote | Up ^


#16 Re: JSON files support

Posted by: pspad | Date: 2015-08-05 07:15 | IP: IP Logged

There is no user highlighter defined yet.
Can you please define what is necessary to do and where are the problems?

Another possibilities:
- extend HTML highlighter and add JSON support - I need to know how to highlight, cause I am not a web programmer
- modify multihighlighter, but there will be a problem. As I looked on JSON, there is no possibility to get unique JSON start and end using regular expressions.

Options: Reply | Quote | Up ^


#17 Re: JSON files support

Posted by: pythonui | Date: 2015-08-05 08:24 | IP: IP Logged

Hello

This is what I have in my small JSON document, What I need is to highlight the starting and ending braces (nested one also).
Also as you can see in this we have ':',so is there any possibility to highlight them?

I don't know how is the formatting(like reformat in case of xml) possible in PSPAD for JSON document ?


{"topX":"1-15", "destId":684, "currencyCode":"EUR", "searchTypes":["PRODUCT","DESTINATION"], "text":"helicopter"}

Options: Reply | Quote | Up ^


#18 Re: JSON files support

Posted by: pythonui | Date: 2015-08-05 12:17 | IP: IP Logged

I have created my own highlighter for JSON document and its working well for me smiling smiley.
And I have also created one extension (PSPAD script) for formatting the JSON document :D .

Thanks

Edited 1 time(s). Last edit at 2015-08-05 12:18 by pythonui.

Options: Reply | Quote | Up ^


Goto Page: Previous1 2





Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR