As per the documentation, you need to specify true as the second argument if you want an associative array instead of an object from json_decode. This would be the code:

$result = json_decode($jsondata, true);

If you want integer keys instead of whatever the property names are:

$result = array_values(json_decode($jsondata, true));

However, with your current decode you just access it as an object:

print_r($obj->Result);
Answer from Stephen on Stack Overflow
๐ŸŒ
PHP
php.net โ€บ manual โ€บ en โ€บ function.json-decode.php
PHP: json_decode - Manual
JSON can be decoded to PHP arrays by using the $associative = true option. Be wary that associative arrays in PHP can be a "list" or "object" when converted to/from JSON, depending on the keys (of absence of them).
๐ŸŒ
W3Schools
w3schools.com โ€บ php โ€บ func_json_decode.asp
PHP json_decode() Function
The json_decode() function is used to decode or convert a JSON object to a PHP object. json_decode(string, assoc, depth, options) Store JSON data in a PHP variable, and then decode it into a PHP associative array: $jsonobj = '{"Peter":35,"B...
๐ŸŒ
PHPpot
phppot.com โ€บ php โ€บ php-object-to-array
PHP Object to Array Convert using JSON Decode - PHPpot
This quick example performs a PHP object to array conversion in a single step. It creates an object bundle and sets the properties. It uses JSON encode() decode() function for the conversion.
๐ŸŒ
ReqBin
reqbin.com โ€บ code โ€บ php โ€บ 0uwqq41y โ€บ json-to-array-php-example
How do I convert JSON to PHP array?
To convert a JSON data string to a PHP array, you can use the json_decode($json) function.
๐ŸŒ
PHP: json_decode()
parthpatel.net โ€บ home โ€บ php โ€บ php: json_decode() | how to decode json to array in php
PHP: json_decode() | How to decode json to array in PHP | Parth Patel - a Web Developer
September 9, 2021 - The json_decode() is an inbuilt function in php which is used to convert JSON encoded string to appropriate variable in php. Generally, json_decode is used to convert json to array in PHP but it has other usecases as well.
๐ŸŒ
PHPpot
phppot.com โ€บ php โ€บ json-to-array-php
Convert JSON to Array in PHP with Online Demo - PHPpot
Creating an online converter for JSON to an array decoding with a single line using PHP json_decode native function.
๐ŸŒ
W3docs
w3docs.com โ€บ home โ€บ code snippets โ€บ php โ€บ how to json decode a string into an array with php
How to JSON Decode a String into an Array with PHP | W3docs
... object(stdClass)#1 (5) { ["a"] ... ["e"] => int(5) } ... The <kbd class="highlighted">json_decode</kbd> function is used for taking a JSON encoded string and converting it into a PHP variable....
Find elsewhere
๐ŸŒ
ReqBin
reqbin.com โ€บ code โ€บ php โ€บ zg4d50d8 โ€บ php-json-decode-example
How do I decode JSON in PHP?
July 7, 2023 - To decode a JSON string or file in PHP, you can use the json_decode($json, $assoc, $depth, $options) function. The first parameter specifies the string to be decoded. The second optional parameter sets whether the returned object should be converted ...
๐ŸŒ
Coddy.Tech
coddy.tech โ€บ docs โ€บ php โ€บ json_decode()
PHP json_decode(): Parse JSON into Arrays or Objects | Coddy
3 weeks ago - json_decode($json, true) turns a JSON string into PHP values, with every JSON object as an associative array.
๐ŸŒ
Jobtensor
jobtensor.com โ€บ Tutorial โ€บ PHP โ€บ en โ€บ JSON
PHP JSON - json_encode(), json_decode() | jobtensor
It has an optional second parameter that gives a PHP associative array instead of the default PHP object. <?php $countries_JSON = '{"Mark":"USA", "Raymond":"UK", "Jeff":"JPN", "Mike":"DE"}'; // using the default function var_dump(json_decode($countries_JSON)); // using the second parameter to give an associative array var_dump(json_decode($countries_JSON, true));
๐ŸŒ
Jsontophp
jsontophp.com
Convert JSON Object to PHP Array Online
JSON to PHP array converter online - Convert the given JSON object or Array into beautified PHP array that can be used instantly into your PHP file as a PHP array
๐ŸŒ
Scaler
scaler.com โ€บ home โ€บ topics โ€บ php json_decode() function
PHP json_decode() Function - Scaler Topics
September 22, 2023 - However, trying to access a property ... by json_decode(). Explanation Here, we've decoded the JSON data into an associative array using the second parameter of json_decode() set to true....
๐ŸŒ
Tutorialspoint
tutorialspoint.com โ€บ php โ€บ php_function_javascript_object_notation_json_decode.htm
PHP - json_decode() Function
<?php // Assign a JSON object to a variable $someJSON = '{"name" : "Raja", "Adithya" : "Jai"}'; // Convert the JSON to an associative array $someArray = json_decode($someJSON, true); // Read the elements of the associative array foreach($someArray ...
๐ŸŒ
Tutorial Republic
tutorialrepublic.com โ€บ php-tutorial โ€บ php-json-parsing.php
How to Encode and Decode JSON Data in PHP - Tutorial Republic
JSON data structures are very similar to PHP arrays. PHP has built-in functions to encode and decode JSON data. These functions are json_encode() and json_decode(), respectively.
๐ŸŒ
Envato Tuts+
code.tutsplus.com โ€บ home โ€บ cloud & hosting
How to Parse JSON in PHP | Envato Tuts+
May 31, 2021 - The first parameter specifies the string that you want to decode. The second parameter determines how the decoded data is returned. Setting it to true will return an associative array, and false will return objects.
๐ŸŒ
YouTube
youtube.com โ€บ codetime
Working With JSON Data & PHP, Part 7: Decoding JSON to An Associative Array - YouTube
So far, we've been decoding our JSON data into PHP objects. In the seventh video of our "Working With JSON Data & PHP" series, โ€œDecoding JSON to An Associati...
Published: October 2, 2017
Views: 2K
๐ŸŒ
PHPpot
phppot.com โ€บ php โ€บ json-handling-with-php-how-to-encode-write-parse-decode-and-convert
PHP JSON Encode and Decode with json_encode() and json_decode() - PHPpot
By default, PHP returns an object. If you want an associative array instead, pass true as the second argument. This is one of the most important things to understand when working with JSON in PHP.
๐ŸŒ
Jonathan Suh
jonsuh.com โ€บ blog โ€บ convert-loop-through-json-php-javascript-arrays-objects
Convert and Loop through JSON with PHP and JavaScript Arrays/Objects โ€” Jonathan Suh
September 30, 2014 - By default it returns an object. The second parameter accepts a boolean that when set as true, tells it to return the objects as associative arrays. You can learn more about the json_decode function from PHPโ€™s documentation.