JSON OBJECT TESTS -> SC 11608


Print JSON OBJECT (Does Not Need Decoding)

Basic Example:

{"Peter":35,"Ben":37,"Joe":43, "Bob":101}

API Example:

{
    "text": [],
    "colours": {
        "primaryBackground": "#5ABDF9",
        "primaryLight": "#ECF0F3",
        "primaryText": "#0670B1"
    },
    "images": {
        "avatar": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/default_avatar.svg?Expires=1718567499&Signature=BGOeAju1E6KF-sbjZJfZv1wgiVzGk6UKWxhXYFTOFh8GLftmqDGA0XmHlSEXByGKnTQh8Ak3NEL6mdrL7Jhhw6WL2MkncaCyhSiM0Wx7kXCq9QC5iekYMxmtvq0Ap4lYWdTmkOxC8nP35JI3HiMig8MAPTS2AvLr2o~ktwtU8TNZc6GELHL1sgOBIwV4xpvkbohs9mhHh9RtLhH-cOxCrnZqkERlJUL3TNZ7M1tJvBpnmvJo8yDQQB7j-ejOE8PiUVGZWco3RKDwJlAPlu4Dd11jJeAyap18aZg0Q7xM-Ct0lx0pNjcDdUfo1S9qYEi4O~-ce3G9f69iWIevkQKyRQ__&Key-Pair-Id=K1UT3NAZQUV8HI",
        "favicon": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/247c510e9630406e98e981050120a418-4361d4cfe2564ad485ee9d37a4eaea85.png?Expires=1718567499&Signature=IbM5TofgVVfphxeTsXc4JCgqnRK4MJ3tXKNlDN3M-q4hNVVax~N9MZS5qLVcCWwo9-PjRKKskSiyK0QdeVjFUhYRs49xyizkQUPuHHyyIDA2~zIyJeahcxbLhprzNZIEC~Z118avPLTQLANb81g4OBfT7MIAa7EKHWpVn2fOrKmSu~rYvQT~RMRWDeLfamkQkwoIl-rzKcBOoRbywKk2ar9Ek2y9fNFPOBZald5kNTf7dZ7lZCJdnpHyMbMvB2KxZbPNxpQG01Uukn5PCjFgfZ-J5t~O~3~t8OlzXN1A89yt-iGK5A6hZefR0~XGZ0TatoCZmvAMx1a4Iz~XxVPY~g__&Key-Pair-Id=K1UT3NAZQUV8HI",
        "logo": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718567499&Signature=ZfLcNy3qlkMb6CqXvMTdgow1ujUOClSqaPCdMXBLh~NtfPi~YihY~9~fJtkOqWg-jFrSa~l6VmmrubVJwqi69ado5mhYJi1DnkVXZiykZGs7nD0-KgalHYL8Zn-Bmb2nJ22aaerby2StkZpC0RvfpemhDuK6lx7ZC14obzEk~RUUDjIPs7Kca4vO7l77dGS6kojzf53hepFmllsEnvcDhiuI0rL~cepNMCr7k3KvEMDJ8otZdocJ2T83T5Os1BdRM7OXEpP4gqzp4I9XfJUikSouPTtNOaBdhJcUaualN9NzEmxdKBqViQQAQBHBh9TurLoNcTdc77kHIC1ISeV9rw__&Key-Pair-Id=K1UT3NAZQUV8HI"
    },
    "dark": false
}

============

Echoing JSON OBJECT (Does not Need Decoding)

Basic Example:

{"Peter":35,"Ben":37,"Joe":43, "Bob":101}

API Example:

{
    "text": [],
    "colours": {
        "primaryBackground": "#5ABDF9",
        "primaryLight": "#ECF0F3",
        "primaryText": "#0670B1"
    },
    "images": {
        "avatar": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/default_avatar.svg?Expires=1718567499&Signature=BGOeAju1E6KF-sbjZJfZv1wgiVzGk6UKWxhXYFTOFh8GLftmqDGA0XmHlSEXByGKnTQh8Ak3NEL6mdrL7Jhhw6WL2MkncaCyhSiM0Wx7kXCq9QC5iekYMxmtvq0Ap4lYWdTmkOxC8nP35JI3HiMig8MAPTS2AvLr2o~ktwtU8TNZc6GELHL1sgOBIwV4xpvkbohs9mhHh9RtLhH-cOxCrnZqkERlJUL3TNZ7M1tJvBpnmvJo8yDQQB7j-ejOE8PiUVGZWco3RKDwJlAPlu4Dd11jJeAyap18aZg0Q7xM-Ct0lx0pNjcDdUfo1S9qYEi4O~-ce3G9f69iWIevkQKyRQ__&Key-Pair-Id=K1UT3NAZQUV8HI",
        "favicon": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/247c510e9630406e98e981050120a418-4361d4cfe2564ad485ee9d37a4eaea85.png?Expires=1718567499&Signature=IbM5TofgVVfphxeTsXc4JCgqnRK4MJ3tXKNlDN3M-q4hNVVax~N9MZS5qLVcCWwo9-PjRKKskSiyK0QdeVjFUhYRs49xyizkQUPuHHyyIDA2~zIyJeahcxbLhprzNZIEC~Z118avPLTQLANb81g4OBfT7MIAa7EKHWpVn2fOrKmSu~rYvQT~RMRWDeLfamkQkwoIl-rzKcBOoRbywKk2ar9Ek2y9fNFPOBZald5kNTf7dZ7lZCJdnpHyMbMvB2KxZbPNxpQG01Uukn5PCjFgfZ-J5t~O~3~t8OlzXN1A89yt-iGK5A6hZefR0~XGZ0TatoCZmvAMx1a4Iz~XxVPY~g__&Key-Pair-Id=K1UT3NAZQUV8HI",
        "logo": "https:\/\/platformcdn.staging.growthinvest.com\/branding\/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf\/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718567499&Signature=ZfLcNy3qlkMb6CqXvMTdgow1ujUOClSqaPCdMXBLh~NtfPi~YihY~9~fJtkOqWg-jFrSa~l6VmmrubVJwqi69ado5mhYJi1DnkVXZiykZGs7nD0-KgalHYL8Zn-Bmb2nJ22aaerby2StkZpC0RvfpemhDuK6lx7ZC14obzEk~RUUDjIPs7Kca4vO7l77dGS6kojzf53hepFmllsEnvcDhiuI0rL~cepNMCr7k3KvEMDJ8otZdocJ2T83T5Os1BdRM7OXEpP4gqzp4I9XfJUikSouPTtNOaBdhJcUaualN9NzEmxdKBqViQQAQBHBh9TurLoNcTdc77kHIC1ISeV9rw__&Key-Pair-Id=K1UT3NAZQUV8HI"
    },
    "dark": false
}

============

For Loops JSON OBJECT Must Be DECODED!

Basic Example:

Your key is: Peter and the value of the key is:35
Your key is: Ben and the value of the key is:37
Your key is: Joe and the value of the key is:43
Your key is: Bob and the value of the key is:101

API Example:

Your key is: text and the value of the key is:Array
Your key is: colours and the value of the key is:Array
Your key is: images and the value of the key is:Array
Your key is: dark and the value of the key is:

============

Print DECODED

Basic Example:

Array
(
    [Peter] => 35
    [Ben] => 37
    [Joe] => 43
    [Bob] => 101
)

Multidimensional Example:

Array
(
    [text] => Array
        (
        )

    [colours] => Array
        (
            [primaryBackground] => #5ABDF9
            [primaryLight] => #ECF0F3
            [primaryText] => #0670B1
        )

    [images] => Array
        (
            [avatar] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/default_avatar.svg?Expires=1718567499&Signature=BGOeAju1E6KF-sbjZJfZv1wgiVzGk6UKWxhXYFTOFh8GLftmqDGA0XmHlSEXByGKnTQh8Ak3NEL6mdrL7Jhhw6WL2MkncaCyhSiM0Wx7kXCq9QC5iekYMxmtvq0Ap4lYWdTmkOxC8nP35JI3HiMig8MAPTS2AvLr2o~ktwtU8TNZc6GELHL1sgOBIwV4xpvkbohs9mhHh9RtLhH-cOxCrnZqkERlJUL3TNZ7M1tJvBpnmvJo8yDQQB7j-ejOE8PiUVGZWco3RKDwJlAPlu4Dd11jJeAyap18aZg0Q7xM-Ct0lx0pNjcDdUfo1S9qYEi4O~-ce3G9f69iWIevkQKyRQ__&Key-Pair-Id=K1UT3NAZQUV8HI
            [favicon] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/247c510e9630406e98e981050120a418-4361d4cfe2564ad485ee9d37a4eaea85.png?Expires=1718567499&Signature=IbM5TofgVVfphxeTsXc4JCgqnRK4MJ3tXKNlDN3M-q4hNVVax~N9MZS5qLVcCWwo9-PjRKKskSiyK0QdeVjFUhYRs49xyizkQUPuHHyyIDA2~zIyJeahcxbLhprzNZIEC~Z118avPLTQLANb81g4OBfT7MIAa7EKHWpVn2fOrKmSu~rYvQT~RMRWDeLfamkQkwoIl-rzKcBOoRbywKk2ar9Ek2y9fNFPOBZald5kNTf7dZ7lZCJdnpHyMbMvB2KxZbPNxpQG01Uukn5PCjFgfZ-J5t~O~3~t8OlzXN1A89yt-iGK5A6hZefR0~XGZ0TatoCZmvAMx1a4Iz~XxVPY~g__&Key-Pair-Id=K1UT3NAZQUV8HI
            [logo] => https://platformcdn.staging.growthinvest.com/branding/b7c0ee5d-c760-4c3c-9959-15ed4a94ebdf/20f5ab6d-34fa-412b-98fd-7197f1f60d3d.svg?Expires=1718567499&Signature=ZfLcNy3qlkMb6CqXvMTdgow1ujUOClSqaPCdMXBLh~NtfPi~YihY~9~fJtkOqWg-jFrSa~l6VmmrubVJwqi69ado5mhYJi1DnkVXZiykZGs7nD0-KgalHYL8Zn-Bmb2nJ22aaerby2StkZpC0RvfpemhDuK6lx7ZC14obzEk~RUUDjIPs7Kca4vO7l77dGS6kojzf53hepFmllsEnvcDhiuI0rL~cepNMCr7k3KvEMDJ8otZdocJ2T83T5Os1BdRM7OXEpP4gqzp4I9XfJUikSouPTtNOaBdhJcUaualN9NzEmxdKBqViQQAQBHBh9TurLoNcTdc77kHIC1ISeV9rw__&Key-Pair-Id=K1UT3NAZQUV8HI
        )

    [dark] => 
)

==================

Echoing DECODED Arrays

Basic Example:

Array

Multidimensional Example:

Array

============

For Loop DECODED

Basic Example:

Peter is 35
Ben is 37
Joe is 43
Bob is 101

API Example:

text is Array
colours is Array
images is Array
dark is

==================

Scroll to Top

Market Download Subscribe

The market download is a regular weekly newsletter for financial advisers, wealth managers and industry contacts. If you would like to receive it, please submit a subscription request below, and our team will review and come back to you with any questions. Please note this newsletter is only intended for industry professionals and connected parties.

Global Returns Project: Find Out More or Make A Donation

Please fill in the details below to find out more or to enquire about making a donation to the Global Returns Project.

Download Request​

Please provide your details in order to download this document.

Download Request​

Please provide your details in order to download this document.

Download Request

Please provide your details in order to download this document.

Download Requests

Please provide your details in order to download this document.

Arrange a Demonstration

Please provide as many details as you can and we will get back to you very soon to arrange the demonstration with you.

Sign Up to GrowthInvest

Thank you for signing up for GrowthInvest. Please provide as many details as possible so we can configure your account appropriately.

Message Us or Register Interest

If you would like to leave us a message or register your interest in the GrowthInvest platform, please leave a few details outlining how we can help and we will get back to you very soon.

Message Sent

Thanks for your message. We will be in touch soon.