Sha256: cd2f575e3974eac9849fd30110c99a91744a93cb068831c9bfa73406de09b95a
Contents?: true
Size: 1.09 KB
Versions: 13
Compression:
Stored size: 1.09 KB
Contents
using Microsoft.Scripting.Utils; using Microsoft.Scripting.Runtime; using IronRuby.Runtime; using IronRuby.Builtins; using System; using System.Runtime.InteropServices; namespace rho.rubyext { [RubyModule("Rho")] public static class Rho { [RubyModule("JSON")] public static class RhoJSON { #region Private Implementation Details #endregion #region Private Instance & Singleton Methods [RubyMethodAttribute("parse", RubyMethodAttributes.PublicSingleton)] public static object parse(RubyModule/*!*/ self, [NotNull]string/*!*/ strData) { return fastJSON.RJSONTokener.JsonDecode(strData); } [RubyMethodAttribute("quote_value", RubyMethodAttributes.PublicSingleton)] public static object quote_value(RubyModule/*!*/ self, [NotNull]string/*!*/ strData) { String strRes = rho.json.JSONEntry.quoteValue(strData); return CRhoRuby.Instance.createString(strRes); } #endregion } } }
Version data entries
13 entries across 13 versions & 1 rubygems