View Single Post
Old 6th October 2021, 15:47   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,424
PHP Code:
Section
InitPluginsdir
FileOpen 
$"$PluginsDir\temp.txt" w
FileWrite 
$'{"BLD_BRH" : "1234","RLS_STR" : "5678","RLS_FIXED" : "invalid example"}'
FileClose $0
nsJSON
::Set /file "$PluginsDir\temp.txt"

nsJSON::Get "BLD_BRH" /end
Pop 
$0
MessageBox mb_ok 
$0
SectionEnd 

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote