{"action":"created","issue":{"url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/106","labels_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/106/comments","events_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/106/events","html_url":"https://github.com/SlexAxton/messageformat.js/issues/106","id":83639392,"number":106,"title":"MessageFormat uses JSON for resource bundles, but ICU4J uses something else","user":{"login":"alex-dow","id":225356,"avatar_url":"https://avatars.githubusercontent.com/u/225356?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-dow","html_url":"https://github.com/alex-dow","followers_url":"https://api.github.com/users/alex-dow/followers","following_url":"https://api.github.com/users/alex-dow/following{/other_user}","gists_url":"https://api.github.com/users/alex-dow/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-dow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-dow/subscriptions","organizations_url":"https://api.github.com/users/alex-dow/orgs","repos_url":"https://api.github.com/users/alex-dow/repos","events_url":"https://api.github.com/users/alex-dow/events{/privacy}","received_events_url":"https://api.github.com/users/alex-dow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-01T18:44:01Z","updated_at":"2015-06-05T14:03:25Z","closed_at":null,"body":"ICU4J uses this: http://userguide.icu-project.org/locale/resources\r\n\r\nMessageFormat appears to use JSON.\r\n\r\nIs there any way to consolidate the two so I can share resources between client and server code?"},"comment":{"url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/comments/109303351","html_url":"https://github.com/SlexAxton/messageformat.js/issues/106#issuecomment-109303351","issue_url":"https://api.github.com/repos/SlexAxton/messageformat.js/issues/106","id":109303351,"user":{"login":"alex-dow","id":225356,"avatar_url":"https://avatars.githubusercontent.com/u/225356?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-dow","html_url":"https://github.com/alex-dow","followers_url":"https://api.github.com/users/alex-dow/followers","following_url":"https://api.github.com/users/alex-dow/following{/other_user}","gists_url":"https://api.github.com/users/alex-dow/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-dow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-dow/subscriptions","organizations_url":"https://api.github.com/users/alex-dow/orgs","repos_url":"https://api.github.com/users/alex-dow/repos","events_url":"https://api.github.com/users/alex-dow/events{/privacy}","received_events_url":"https://api.github.com/users/alex-dow/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T14:03:25Z","updated_at":"2015-06-05T14:03:25Z","body":"ok, MessageFormat handles hierarchies just fine. A resource bundle that looks like:\r\n\r\n```\r\nen {\r\n    menu {\r\n        item { \"string message\" }\r\n    }\r\n}\r\n```\r\n\r\nwill end up as mfunc().en.menu.item;\r\n\r\nwhich I guess you already know but figured someone might also want to ask ;)"}}