Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dub.json parse errors #1172

Closed
Lord-Evil opened this issue Jul 6, 2015 · 2 comments
Closed

dub.json parse errors #1172

Lord-Evil opened this issue Jul 6, 2015 · 2 comments

Comments

@Lord-Evil
Copy link

Nor Python, nor JavaScript can understand that the last element in array has coma following it.
e.g.

    "configurations": [
        {
            "name": "libevent",
            "dependencies": {"libevent": "~>2.0.1+2.0.16"},
            "platforms": ["windows-x86", "posix"],
            "versions": ["VibeLibeventDriver"],
            "sourceFiles-windows-x86": ["lib/win-i386/event2.lib"],
            "copyFiles-windows-x86": ["lib/win-i386/libevent.dll"],
            "sourceFiles-windows-x86_64": ["lib/win-amd64/event2.lib"],
            "copyFiles-windows-x86_64": ["lib/win-amd64/libevent.dll"],
            "libs-windows": ["wsock32", "ws2_32", "advapi32"],
        },
"libs-windows": ["wsock32", "ws2_32", "advapi32"],
@Lord-Evil
Copy link
Author

It goes against JSON specification. Please fix it :-)

@s-ludwig
Copy link
Member

s-ludwig commented Jul 7, 2015

See also dlang/dub#415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants