{"id":17241257,"url":"https://github.com/sinoon/module-decode-re","last_synced_at":"2026-01-06T21:05:52.414Z","repository":{"id":22026225,"uuid":"25352883","full_name":"sinoon/module-decode-re","owner":"sinoon","description":null,"archived":false,"fork":false,"pushed_at":"2014-10-17T15:42:19.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T01:01:35.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinoon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-17T10:34:49.000Z","updated_at":"2014-10-17T10:34:49.000Z","dependencies_parsed_at":"2022-08-20T14:40:43.634Z","dependency_job_id":null,"html_url":"https://github.com/sinoon/module-decode-re","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoon%2Fmodule-decode-re","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoon%2Fmodule-decode-re/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoon%2Fmodule-decode-re/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinoon%2Fmodule-decode-re/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinoon","download_url":"https://codeload.github.com/sinoon/module-decode-re/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579675,"owners_count":20638679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T06:08:30.403Z","updated_at":"2026-01-06T21:05:52.387Z","avatar_url":"https://github.com/sinoon.png","language":null,"readme":"2014年10月17日11:50:39\n1、把NWDL json 整理好了\n    1、2层是每个组的最高层\n    2、3层是最底层\n    3、2层的话，不需要向上查找它的父集，name就是自己的name，值取default\n    4、3层需要向上查找父集，取得父集的name值，值取default，在3层会有valtype:range,此时的值就是传进来的原值，不需要转换\n    5、当valtype是null的时候，代表取default；当valtype是range的时候，值是原值；当valtype是group的时候，值取default且需要循环取得。\n    6、后面的DWL以及比分也将采用这种方式获取。\n2、如此的话，那么\n    var a = []\n    var c = \"item-name\",d = \"item-content\"\n    var b = [c,d]\n    a.push(b)\n    console.log(a)\n    [Array[2]]\n    undefined\n    console.log(a[0])\n    [\"item-name\", \"item-content\"]\n\n\n\n[\"联赛\"]\n    [\"itme-name\",\"item-content\"]\n    [\"itme-name\",\"item-content\"]\n    [\"itme-name\",\"item-content\"]\n[\"初始赔率\"]\n    [\"item-name\",\"item-content\"]\n    [\"item-name\",\"item-content\"]\n    [\"item-name\",\"item-content\"]\n\n(2,\"self-name\",value)\n    .push({\"self-name\":value})\n(3,\"parent-name\",\"self-name\",value)\n    temp = [\"self-name\",value]\n    \"parent-name\".push(tempd)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoon%2Fmodule-decode-re","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinoon%2Fmodule-decode-re","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinoon%2Fmodule-decode-re/lists"}