Greetings to all! I am excited to be a part of this community as I embark on my programming journey. I haven't been able to find any information on this particular topic, so I've taken the initiative to start a new discussion. If anything seems off or incorrect, please don't hesitate to let me know.
Now, onto the main issue at hand - I am faced with a challenge. I am looking to extract the values from a JSON object and store them in a string array using Javascript.
The JSON object I have is structured like this:
{"prop1":"hello","prop2":"world!"}
What I aim to achieve is a string array that looks like this:
stringarray = [hello, world];
How can I efficiently retrieve the values (hello & world) from the JSON object and place them into a string array without including the special characters (", :) and excluding the properties (prop1, prop2)?