[Solved] I have a local json file and i want to display its data in listbox [closed]


You might want to elaborate and maybe read a little, although something like this shows how you can get data out of the JSON response.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js">
    </script>
    <script type="text/javascript">
        $(function() {
        $.getJSON( "http://yourserver/test.json", function( data ) {
        alert (data["data"][0]["text"]);
        });
        });
    </script>
</head>
<body>
</body>
</html>

If you jQuery or something similar there are plenty of tools to Parse and manipulate the JSON data.

The jQuery Docs should provide you with everything you need to know. If you are using PHP or something else there a tools for that too.

jQuery getJSON

0

solved I have a local json file and i want to display its data in listbox [closed]