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 8811517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:23:07+00:00 2026-06-14T03:23:07+00:00

I have the following json, the it is not valid due to the json

  • 0

I have the following json, the it is not valid due to the json below, I need to make it a string in order to be jsonically valid. any suggestions as to the best way to do this in php?

{
    29646191: [
        "https://www.facebook.com/RobertScoble/posts/480030845352725",
        "https://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg",
        "Today I tried... | Facebook",
        "Robert Scoble wrote: Today I tried something. I paid $49 and... Join Facebook to connect with Robert Scoble and others you may know.",
        null,
        [
            "//images3-focus-opensocial.googleusercontent.com/gadgets/proxy?url\u003dhttps://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg\u0026container\u003dfocus\u0026gadget\u003da\u0026rewriteMime\u003dimage/*\u0026refresh\u003d31536000\u0026resize_h\u003d150\u0026resize_w\u003d150\u0026no_expand\u003d1",
            150,
            150,
            null,
            null,
            null,
            null,
            null,
            [
                3,
                "https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url\u003dhttps://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg\u0026container\u003dfocus\u0026gadget\u003dhttps://plus.google.com\u0026rewriteMime\u003dimage/*\u0026resize_h\u003d800\u0026resize_w\u003d800\u0026no_expand\u003d1"
            ]
        ],
        "//s2.googleusercontent.com/s2/favicons?domain\u003dwww.facebook.com",
        [],
        null,
        []
    ]
}
  • 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-14T03:23:08+00:00Added an answer on June 14, 2026 at 3:23 am

    Let the browser do it for you.

    var x = {
        29646191: [
            "https://www.facebook.com/RobertScoble/posts/480030845352725",
            "https://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg",
            "Today I tried... | Facebook",
            "Robert Scoble wrote: Today I tried something. I paid $49 and... Join Facebook to connect with Robert Scoble and others you may know.",
            null,
            [
                "//images3-focus-opensocial.googleusercontent.com/gadgets/proxy?url\u003dhttps://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg\u0026container\u003dfocus\u0026gadget\u003da\u0026rewriteMime\u003dimage/*\u0026refresh\u003d31536000\u0026resize_h\u003d150\u0026resize_w\u003d150\u0026no_expand\u003d1",
                150,
                150,
                null,
                null,
                null,
                null,
                null,
                [
                    3,
                    "https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url\u003dhttps://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg\u0026container\u003dfocus\u0026gadget\u003dhttps://plus.google.com\u0026rewriteMime\u003dimage/*\u0026resize_h\u003d800\u0026resize_w\u003d800\u0026no_expand\u003d1"
                ]
            ],
            "//s2.googleusercontent.com/s2/favicons?domain\u003dwww.facebook.com",
            [],
            null,
            []
        ]
    }
    
    JSON.stringify(x);
    

    Gives

    “{“29646191”:[“https://www.facebook.com/RobertScoble/posts/480030845352725″,”https://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg”,”Today
    I tried… | Facebook”,”Robert Scoble wrote: Today I tried something.
    I paid $49 and… Join Facebook to connect with Robert Scoble and
    others you may
    know.”,null,[“//images3-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg&container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&resize_h=150&resize_w=150&no_expand=1″,150,150,null,null,null,null,null,[3,”https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=https://sphotos-a.xx.fbcdn.net/hphotos-prn1/s480x480/546943_10151235934049655_1771118951_n.jpg&container=focus&gadget=https://plus.google.com&rewriteMime=image/*&resize_h=800&resize_w=800&no_expand=1″]],”//s2.googleusercontent.com/s2/favicons?domain=www.facebook.com”,[],null,[]]}”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following JSON String { name:Product, properties: { id: { type:number, description:Product
I have the following JSON string (from wikipedia http://en.wikipedia.org/wiki/JSON ) { name:Product, properties: {
The following JSON is not passing validation. The validator complains at the first string
I have the following JSON string, which was an Objective C array then encoded
I have the following data that really should be one JSON string however I
i have the following JSON response, but i am not sure how to properly
I have following valid JSON to Parse: [{name:kkkk,empid:55628,address:mumbai,mobile:9525878558},{name:xtreme,empid:20,address:stripes,mobile:9999597},{name:xtreme,empid:20,address:stripes,mobile:9699597},{name:xtreme,empid:20,address:stripes,mobile:9699597},{name:xtreme,empid:20,address:stripes,mobile:9699597},{name:xtreme,empid:20,address:stripes,mobile:9689597},{name:xtreme,empid:20,address:stripes,mobile:9699597},{name:xtreme,empid:20,address:stripes,mobile:9689597},{name:xtreme,empid:20,address:stripes,mobile:9699597},{name:vx,empid:96,address:addre,mobile:9999596},{name:vxx,empid:96,address:addre,mobile:96899},{name:vx,empid:96,address:addre,mobile:9689596}] After parsing this I want to
I have the following json object. var json1 = {00 : 00, 15 :
I have the following JSON structure: [{ id:10, class: child-of-9 }, { id: 11,
I have the following json code file named: sections.json { section1: { priority: 1,

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.