Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
QuestionRe: SERIAL MONITOR IN C#, DataReceivedHandler problem Pin
Richard MacCutchan30-May-18 23:00
mveRichard MacCutchan30-May-18 23:00 
AnswerRe: SERIAL MONITOR IN C#, DataReceivedHandler problem Pin
Member 1368881630-May-18 23:29
Member 1368881630-May-18 23:29 
AnswerRe: SERIAL MONITOR IN C#, DataReceivedHandler problem Pin
Jochen Arndt30-May-18 23:39
professionalJochen Arndt30-May-18 23:39 
AnswerRe: SERIAL MONITOR IN C#, DataReceivedHandler problem Pin
Gerry Schmitz31-May-18 11:50
mveGerry Schmitz31-May-18 11:50 
AnswerRe: SERIAL MONITOR IN C#, DataReceivedHandler problem Pin
Member 1368881631-May-18 23:04
Member 1368881631-May-18 23:04 
QuestionIs there a JSON Library that works like the System.Xml.Linq classes? Pin
MAIsw30-May-18 21:02
MAIsw30-May-18 21:02 
AnswerRe: Is there a JSON Library that works like the System.Xml.Linq classes? Pin
Pete O'Hanlon30-May-18 22:31
mvePete O'Hanlon30-May-18 22:31 
QuestionCreate JSON object from string Pin
WillyBilly9030-May-18 10:27
WillyBilly9030-May-18 10:27 
Can somebody tell me how I can create a JSON object from this JSON string ?

When is use JsonObject.Parse(string); it says invalid json-stream


"[{\"id\":\"0b5a6026-d347-4f8d-94e7-eede0bda6df1\",\"identifier\":\"WPLG009569C78EDC\",\"name\":\"Schemerlamp\",\"latitude\":51.8152867,\"longitude\":4.4244634,\"devices\":[{\"id\":\"b2454863-1fb9-4e48-b314-a85c0175b238\",\"typeName\":\"plug_outlet\",\"name\":\"Schemerlamp\",\"code\":\"null\",\"iconUrl\":\"icons/15\"}],\"online\":true,\"firmwareUpdateAvailable\":false,\"deviceTypes\":[{\"name\":\"brel_lr_curtain\",\"displayName\":\"Brel Curtain\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/brel_lr_curtain.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Stop\"},{\"action\":\"Open\"},{\"action\":\"Close\"}],\"selectable\":true},{\"name\":\"brel_ud_curtain\",\"displayName\":\"Brel Roller\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/brel_ud_curtain.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Stop\"},{\"action\":\"Up\"},{\"action\":\"Down\"}],\"selectable\":true},{\"name\":\"brel_roman_pl\",\"displayName\":\"Brel Roman/Pleated/VB\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/brel_roman_pl.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Down\"},{\"action\":\"Stop\"},{\"action\":\"Up\"}],\"selectable\":true},{\"name\":\"flamingo_switch\",\"displayName\":\"Flamingo Switch\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/switch_without_button.html\",\"family\":\"Switch\",\"actions\":[{\"action\":\"Off\"},{\"action\":\"On\"}],\"selectable\":true},{\"name\":\"forest_lr_curtain\",\"displayName\":\"Forest Curtains\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/forest_curtain.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Close\"},{\"action\":\"Open\"},{\"action\":\"Stop\"}],\"selectable\":true},{\"name\":\"forest_roman_blinds_bg\",\"displayName\":\"Forest roller/roman blinds big\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/forest_roman_blinds_bg.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Stop\"},{\"action\":\"Up\"},{\"action\":\"Down\"}],\"selectable\":true},{\"name\":\"forest_roman_blinds_sm\",\"displayName\":\"Forest roman blinds small\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/forest_roman_blinds_sm.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Down\"},{\"action\":\"Up\"},{\"action\":\"Stop\"}],\"selectable\":true},{\"name\":\"hew_dimmer\",\"displayName\":\"HomeEasy Dimmer\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/dimmer.html\",\"family\":\"Dimmer\",\"actions\":[{\"action\":\"Off\"},{\"action\":\"Range\",\"range\":{\"min\":1.0,\"max\":100.0,\"step\":0.0,\"allowedValues\":[1.0,6.0,12.0,19.0,25.0,31.0,38.0,44.0,51.0,57.0,63.0,70.0,76.0,83.0,89.0,95.0,100.0]}},{\"action\":\"On\"}],\"selectable\":true},{\"name\":\"hew_switch\",\"displayName\":\"HomeEasy Switch\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/switch.html\",\"family\":\"Switch\",\"actions\":[{\"action\":\"On\"},{\"action\":\"Off\"}],\"selectable\":true},{\"name\":\"plug_outlet\",\"displayName\":\"Plug Outlet\",\"pairInformationUrl\":\"\",\"family\":\"Switch\",\"actions\":[{\"action\":\"GetState\"},{\"action\":\"Off\"},{\"action\":\"On\"}],\"selectable\":false},{\"name\":\"smartwares_dimmer\",\"displayName\":\"Smartwares Dimmer\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/dimmer.html\",\"family\":\"Dimmer\",\"actions\":[{\"action\":\"Off\"},{\"action\":\"Range\",\"range\":{\"min\":1.0,\"max\":100.0,\"step\":0.0,\"allowedValues\":[1.0,6.0,12.0,19.0,25.0,31.0,38.0,44.0,51.0,57.0,63.0,70.0,76.0,83.0,89.0,95.0,100.0]}},{\"action\":\"On\"}],\"selectable\":true},{\"name\":\"smartwares_rv\",\"displayName\":\"Smartwares Radiator Valve\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/smartwares_rv.html\",\"family\":\"Thermostat\",\"actions\":[{\"action\":\"Range\",\"range\":{\"min\":5.0,\"max\":28.0,\"step\":0.5,\"allowedValues\":[]}},{\"action\":\"DayMode\"},{\"action\":\"NightMode\"}],\"selectable\":true},{\"name\":\"smartwares_switch\",\"displayName\":\"Smartwares Switch\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/switch.html\",\"family\":\"Switch\",\"actions\":[{\"action\":\"Off\"},{\"action\":\"On\"}],\"selectable\":true},{\"name\":\"smartwares_ud_switch\",\"displayName\":\"Smartwares Up/Down Switch\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/smartwares_ud_switch.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Up\"},{\"action\":\"Down\"}],\"selectable\":true},{\"name\":\"vako_blinds\",\"displayName\":\"Vako Blinds\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/vako_blinds.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Down\"},{\"action\":\"Stop\"},{\"action\":\"Up\"}],\"selectable\":true},{\"name\":\"vako_lr_curtain\",\"displayName\":\"Vako Curtain Track\",\"pairInformationUrl\":\"http://static.homewizard.net/media/lite/en/instructions/vako_lr_curtain.html\",\"family\":\"Curtain\",\"actions\":[{\"action\":\"Left\"},{\"action\":\"Stop\"},{\"action\":\"Right\"}],\"selectable\":true}],\"timeZone\":\"Europe/Amsterdam\"}]"

AnswerRe: Create JSON object from string Pin
Mycroft Holmes30-May-18 14:17
professionalMycroft Holmes30-May-18 14:17 
GeneralRe: Create JSON object from string Pin
WillyBilly9031-May-18 9:57
WillyBilly9031-May-18 9:57 
AnswerRe: Create JSON object from string Pin
Richard Deeming31-May-18 10:08
mveRichard Deeming31-May-18 10:08 
GeneralRe: Create JSON object from string Pin
WillyBilly901-Jun-18 8:13
WillyBilly901-Jun-18 8:13 
QuestionReflect Generic Property Info Pin
Kevin Marois30-May-18 7:19
professionalKevin Marois30-May-18 7:19 
AnswerRe: Reflect Generic Property Info Pin
Gerry Schmitz30-May-18 9:46
mveGerry Schmitz30-May-18 9:46 
AnswerRe: Reflect Generic Property Info Pin
Richard Deeming30-May-18 9:51
mveRichard Deeming30-May-18 9:51 
GeneralRe: Reflect Generic Property Info Pin
Eddy Vluggen30-May-18 10:23
professionalEddy Vluggen30-May-18 10:23 
GeneralRe: Reflect Generic Property Info Pin
Kevin Marois30-May-18 10:30
professionalKevin Marois30-May-18 10:30 
GeneralRe: Reflect Generic Property Info Pin
Kevin Marois31-May-18 11:20
professionalKevin Marois31-May-18 11:20 
GeneralRe: Reflect Generic Property Info Pin
Richard Deeming31-May-18 11:52
mveRichard Deeming31-May-18 11:52 
QuestionUnable to connect to remote server error in iis express Pin
galba201830-May-18 3:07
galba201830-May-18 3:07 
AnswerRe: Unable to connect to remote server error in iis express Pin
Pete O'Hanlon30-May-18 5:31
mvePete O'Hanlon30-May-18 5:31 
GeneralRe: Unable to connect to remote server error in iis express Pin
galba201830-May-18 20:10
galba201830-May-18 20:10 
QuestionGet Outlook email attachments Pin
Raghu Kiran29-May-18 16:23
Raghu Kiran29-May-18 16:23 
AnswerRe: Get Outlook email attachments Pin
Pete O'Hanlon29-May-18 22:36
mvePete O'Hanlon29-May-18 22:36 
AnswerRe: Get Outlook email attachments Pin
Richard MacCutchan29-May-18 22:36
mveRichard MacCutchan29-May-18 22:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.