DynaJson, which is a JSON Parser I developed, is very strict to the standard of RFC 8259. It accepts all conformant and rejects all non-conformant JSONs except for two exceptions.
One exception is trailing-commas. Another is leading 0 in numbers for example
-02. The former is for practicality. The latter is for compatibility with DynamicJson.
The grammar of JSON is simple, but carelessly implemented parsers don't accept all conformant and not reject non-conformant JSONs. An excellent article of Parsing JSON is a Minefield shows where mines are in implementing JSON parsers.
Continue reading "How to Make JSON Parser Strict"
In a native Docker environment, you can mount
/source in a container host onto
/destination in a container by
docker run -v /source:/destination and access it from the container.
Well then, how can you mount
C:\Source in Windows onto
/destination in a container on Docker for Windows? You can't directly mount
C:\Source in the VM host into the container, of course.
As the first step, you have to set up
C:\Source as a shared folder for a VM when you create it with docker-machine. You can specify the shared folder with the
--virtualbox-share-folder option of the VirtualBox deriver as follows.
Continue reading "Mount Any Windows Folder into Containers on Docker for Windows"
docker-machine create --driver virtualbox --virtualbox-share-folder=C:\Source:Source