I've fetch a list of schools with their corresponding columns from my database which has a 1000+ rows then convert it to JSON and pass it to my view and parse it using
$.parseJSON('@Html.Raw(Model.subChoiceJsonString)')
then place it to an array
ko.observableArray($.parseJSON('@Html.Raw(Model.subChoiceJsonString)'));
but my problem is it does not work , but it works when there the number of rows are much smaller.
I'm thinking that it can't be parse due to a limitation of a string in Javascript. Is that correct? How can I make it work?