Convert a small js code in dart
€8-30 EUR
Paid on delivery
Hi,
I need someone to help me to translate this js code in dart.
// example JSON
var j = '{"$id":"0","name":"Parent","child":{"$id":"1", "name":"Child","parent":{"$ref":"0"}},"nullValue":null}'
function parseAndResolve(json) {
var refMap = {};
return [login to view URL](json, function (key, value) {
if (key === '$id') {
refMap[value] = this;
// return undefined so that the property is deleted
return void(0);
}
if (value && value.$ref) { return refMap[value.$ref]; }
return value;
});
}
[login to view URL](parseAndResolve(j));
Project ID: #30114222
About the project
3 freelancers are bidding on average €33 for this job
Hi, How are you today ? I'm Flutter expert and I have built a lot of app using Dart So I can help you soon Please contact me and discuss more details Thanks
Hi! I am a dart expert and have rich experience in the Program development area. I think I can do it perfectly. If you give me chance, I will make good result. please let's discuss more details over chat. Warm Regards More