Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added support for [NSNull null]

  • Loading branch information...
commit d247130a114b52f3270ec71298befa6ebdbcf0ed 1 parent 0db6546
Damien Le Berrigaud authored November 12, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  app.rb
1  app.rb
@@ -8,6 +8,7 @@ def to_oc
8 8
       .gsub('{', '@{')
9 9
       .gsub('[', '@[')
10 10
       .gsub(/:\s([0-9]+)/, ": @\\1")
  11
+      .gsub(/:\snull/, ": [NSNull null]")
11 12
       .gsub(/"([^"]+)"/, '@"\\1"')
12 13
   end
13 14
 end

0 notes on commit d247130

Please sign in to comment.
Something went wrong with that request. Please try again.