DirtyBongWater
DirtyBongWater
CC#
Created by DirtyBongWater on 2/7/2023 in #help
❔ How can I deal with '+' deserializing to \u002B when de-serializing json back to a string?
I think I can just bypass the whole issue by not serializing the string.. thanks anyone that read my rubber ducking with myself
5 replies
CC#
Created by DirtyBongWater on 2/7/2023 in #help
❔ How can I deal with '+' deserializing to \u002B when de-serializing json back to a string?
After a bit more reading it seems like it should be safe to use UnsafeRelaxedJsonEscaping since I will not be putting the deserialized data into an HTML page, is this a correct understanding
5 replies
CC#
Created by DirtyBongWater on 2/7/2023 in #help
❔ How can I deal with '+' deserializing to \u002B when de-serializing json back to a string?
And what the the implications of just using: System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping; This is stored in localstorage so end users can edit it
5 replies
CC#
Created by TOLOXI on 10/16/2022 in #help
how to insert values from readline into an array?
You just need to store the results from readline in a variable then put the result in the array index you want (or skip storing it in a variable and just put it in the required index location directly)
9 replies
CC#
Created by TOLOXI on 10/16/2022 in #help
how to insert values from readline into an array?
Can you elaborate on your question?
9 replies
CC#
Created by TOLOXI on 10/16/2022 in #help
how to insert values from readline into an array?
Heyy
9 replies