Live Chat Icon For mobile
Live Chat Icon

How do I load a JSON file in the client-side of the Blazor app without making a request to server?

Platform: Blazor| Category : General, Tips and Tricks

To load a JSON file in Blazor, refer to the following code.

<script src=""
<script type="text/javascript" src="object.json"></script>
    $.getJSON("object.json", function (json) {

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.