Guest User

Untitled

a guest
Apr 29th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import std.file;
  2. import std.stdio;
  3.  
  4. import json;
  5.  
  6. int main(string[] argv) {
  7.     try {
  8.         stdin.parseJSON.writeJSON!4(stdout);
  9.     } catch (Exception ex) {
  10.         stderr.writeln(ex.msg);
  11.         return 1;
  12.     }
  13.  
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment