Closed NamanGajjar26 closed 11 months ago
Hello @NamanGajjar26,
As with your previous sample, we tested your code and encountered no issues. Also, you aren't using Linq anywhere above, so we're not clear on how it's related.
in this code return UnderlyingSystemType = '((Microsoft.ClearScript.ScriptItem)data).UnderlyingSystemType' threw an exception of type 'System.NotImplementedException'
Again, where are you seeing this exception? How can we reproduce it? Can you provide a stack trace?
Thanks!
how to use import in this code in js file
import * as jsonpath from 'D:/VB_Programs/V8JavaJsonModify/V8JavaJsonModify/wwwroot/js/jsonpath.min.js';
function Example1() {
var cities = [
{ name: "London", "population": 8615246 },
{ name: "Berlin", "population": 3517424 },
{ name: "Madrid", "population": 3165235 },
{ name: "Rome", "population": 2870528 }
];
const result = jsonpath({ path: '$..name', cities });
return result;
}
how to use import in this code in js file
Please see here.
Please reopen this issue if you have additional questions or comments on this topic. Thanks!
in this case I am use microsoft.clearscript.v8 in asp .net core mvc this is below homecontroller.cs code
and this below code in NewScript.js (JavaScript file) function
in this code return UnderlyingSystemType = '((Microsoft.ClearScript.ScriptItem)data).UnderlyingSystemType' threw an exception of type 'System.NotImplementedException' this error how to get output and use linq