git://repos.xcallymotion.com
/
motion2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Built motion from commit 6a09e18b.|2.6.11
[motion2.git]
/
legacy-libs
/
protobufjs
/
cli
/
targets
/
json.js
diff --git a/legacy-libs/protobufjs/cli/targets/json.js
b/legacy-libs/protobufjs/cli/targets/json.js
new file mode 100644
(file)
index 0000000..
7025372
--- /dev/null
+++ b/
legacy-libs/protobufjs/cli/targets/json.js
@@ -0,0
+1,8
@@
+"use strict";
+module.exports = json_target;
+
+json_target.description = "JSON representation";
+
+function json_target(root, options, callback) {
+ callback(null, JSON.stringify(root, null, 2));
+}