Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function decoder(json) {
return /* record */[
/* symbol */Json_decode.field("symbol", Symbol$Mxdbmobile.decoder, json),
/* text */Json_decode.optional((function (param) {
return Json_decode.field("text", Json_decode.string, param);
}), json)
];
}
/* description */Json_decode.field("description", (function (param) {
return Json_decode.optional(Json_decode.string, param);
}), json),
/* stars */Json_decode.field("stargazers_count", Json_decode.$$int, json),