public
Description: Pretty Print -> JSON conversion
Homepage:
Clone URL: git://github.com/radar/pp.tmbundle.git
name age message
directory Commands/ Sun Jul 05 20:45:59 -0700 2009 Better example of sorting. [radar]
file README.markdown Sun Jul 05 20:45:59 -0700 2009 Better example of sorting. [radar]
file info.plist Wed Jul 01 23:08:55 -0700 2009 Initial commit. [radar]
README.markdown

PP

PP is a bundle that's designed to take something nasty looking like this:

{"can_see_inactive_forums": true, "can_manage_users": true, "can_manage_forums": true, "default": false, "can_send_multiple_messages": true, "can_manage_posts": true, "can_manage_ips": true, "can_manage_edits": true, "can_manage_configurations": true, "can_edit_locked_topics": true, "can_split_topics": true, "can_manage_moderations": true, "can_lock_topics": true, "can_edit_posts": true, "can_see_category": true, "can_read_others_private_messages": true, "can_move_topics": true, "can_manage_themes": true, "can_delete_own_posts": true, "can_start_new_topics": true, "can_merge_topics": true, "id": 1, "group_id": 1, "can_subscribe": true, "can_reply": true, "can_post_stickies": true, "category_id": null, "can_send_messages_to_groups": true, "can_see_forum": true, "can_read_private_messages": true, "can_lock_own_topics": true, "can_ignore_flood_limit": true, "forum_id": null, "can_reply_to_locked_topics": true, "can_manage_categories": true, "can_edit_own_topics": true, "can_delete_posts": true, "can_reply_to_topics": true, "can_manage_topics": true, "can_manage_bans": true, "can_manage_groups": true, "can_edit_own_posts": true, "can_delete_topics": true, "can_access_moderator_section": true, "can_access_admin_section": true, "can_use_signature": true, "can_manage_ranks": true, "can_edit_topics": true}

and then turn it into a JSON format, like this:

{
  "can_access_admin_section": true,
  "can_access_moderator_section": true,
  "can_delete_own_posts": true,
  "can_delete_posts": true,
  "can_delete_topics": true,
  "can_edit_locked_topics": true,
  "can_edit_own_posts": true,
  "can_edit_own_topics": true,
  "can_edit_posts": true,
  "can_edit_topics": true,
  "can_ignore_flood_limit": true,
  "can_lock_own_topics": true,
  "can_lock_topics": true,
  "can_manage_bans": true,
  "can_manage_categories": true,
  "can_manage_configurations": true,
  "can_manage_edits": true,
  "can_manage_forums": true,
  "can_manage_groups": true,
  "can_manage_ips": true,
  "can_manage_moderations": true,
  "can_manage_posts": true,
  "can_manage_ranks": true,
  "can_manage_themes": true,
  "can_manage_topics": true,
  "can_manage_users": true,
  "can_merge_topics": true,
  "can_move_topics": true,
  "can_post_stickies": true,
  "can_read_others_private_messages": true,
  "can_read_private_messages": true,
  "can_reply": true,
  "can_reply_to_locked_topics": true,
  "can_reply_to_topics": true,
  "can_see_category": true,
  "can_see_forum": true,
  "can_see_inactive_forums": true,
  "can_send_messages_to_groups": true,
  "can_send_multiple_messages": true,
  "can_split_topics": true,
  "can_start_new_topics": true,
  "can_subscribe": true,
  "can_use_signature": true,
  "category_id": null,
  "default": false,
  "forum_id": null,
  "group_id": 1,
  "id": 1
 }

[pause for "oohs" and "ahhs"]

So you can painlessly copy it into your [wherever].

May have some use to someone, somewhere. Was handy for me!