Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8006823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:38:17+00:00 2026-06-04T17:38:17+00:00

I am using one 3rd party plugin which uses stringify and gives me something

  • 0

I am using one 3rd party plugin which uses stringify and gives me something like:

["ProjectB","ProjectA","Paris"]

It was an array but it used stringify and serialized into this format.How do I get back my array from this? Now I could very well use split and then remove 1st and last character from every string and get it but I don’t want to do that manually. Is that any built in utility that can do that for me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:38:18+00:00Added an answer on June 4, 2026 at 5:38 pm

    Assuming you have like var str = '["ProjectB","ProjectA","Paris"]';

    Try using,

    var array = JSON.parse(str); //will return you an array
    

    As @AlexMA pointed out: JSON.parse is not supported in old browsers so you are better off using jQuery version like below,

    var array = $.parseJSON(str);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using one 3rd party SDK which get hwnd (window handle) and paints something
My WPF test app (very simple, just one window) is using a 3rd party
Hi I am using a 3rd party library in my iPhone application that uses
I'm using a 3rd party library which requires a static method to be invoked
I'm using two 3rd party libraries, which both implement their own 2D vector class.
I'm using the code below to pull one of our 3rd party developed pages
I am using a 3rd party API which is defined in 2 DLLs. I
I am searching any java library or 3rd party library using which I can
A 3rd party service that I'm using returns the users to a url like
I am using one stored procedure in which I send @columnname whose type in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.