less.modifyVar() TypeError: Converting circular structure to JSON Anguar

I am facing the issue of Converting circular structure to JSON when trying to modify theme style dynamically using less.modifyVars() in Angular App. JSP: <link rel=”stylesheet/less” type=”text/css” href=”${pageContext.request.contextPath}/less/theme-style.less”/> <link rel=”stylesheet/less” type=”text/css” href=”${pageContext.request.contextPath}/less/theme-variable.less”/> <script src=”${pageContext.request.contextPath}/less/less.js”></script> Component: changeHeader(event) { // let json = { // “@tb-header-bg”: event.currentTarget.value // }; this.changeColor(“@tb-header-bg”, event.currentTarget.value); } changeColor = (variableName, colorCode) =>…

vuejs use fetch Api get data of projects.json: Unexpected token < in JSON at position 0

I am practicing fetch Api, and trying to get the data of projects.json file in my vue-cli project and to show it on console. Project architecture: src/views/Projects.vue src/assets/projects.json Projects.vue in created method we fetch the json data <template> <div> <h1>Hello WOrld</h1> </div> </template> <script> export default { name: “projects”, created() { fetch(“../assets/projects.json”) .then(res => res.json())…

How to load custom JSON data into Highcharts mapbubble?

I have a json array consisting of fields [{“id”:”JP”, “name”:”Japan”, “nodes”:12, “percent”:1.2, “ips”:[…]}, {…}, {…}] I would like to view per country nodes and percent in a map bubble using Highcharts. Something very similar to https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/maps/demo/map-bubble/ I have loaded this JSON file into javascript but I can’t figure out how to tweak the HighCharts series…

Fetch data from comma separated string from JSON response and disable or enable button based on value in IONIC 3

I have a JSON response where for one parameter I have comma separated string like below this.dataList = [{ “id”:1, “name”: “Ram”, “total_slots”: 3, “alloted_slot”:”a1,a2,a3″ }, { “id”:2, “name”: “Ashok” “total_slots”: 3, “alloted_slot”:”a1,a2″ }] I have a UI design where I need to display this data.Based on the total slots I need to display buttons,…