public static void exportJson ( JsonWriter writer , Resource resource ) throws RepositoryException , IOException { exportJson ( writer , resource , MappingRules . getDefaultMappingRules ( ) ) ; }
Writes a resources JSON view to a writer using the default application rules for filtering .