C# Convert string to array -


so i'm working umbraco , using tag datatype. i'm trying take tags added given node , putting them array of strings when grab value seems come out this:

"[\"tag1\",\"tag2\"]"

how can convert string of array regular array? have gotten far string of individual characters

the array format have provided example looks part of json object.

you use json.net library parse array token of json object.

var array = jarray.parse(tagstring).values<string>(); 

a complete example available here.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -