View on GitHub

Mixpanel Unity SDK

A JavaScript/JSON Jelly Bean like value wrapper. It can hold dictionaries, arrays, strings, doubles, floats ints and bools. More...

Public Member Functions

 Value (string v)
 
 Value (int v)
 
 Value (double v)
 
 Value (float v)
 
 Value (bool v)
 

Static Public Member Functions

static implicit operator string (Value v)
 
static implicit operator Value (string v)
 
static implicit operator int (Value v)
 
static implicit operator Value (int v)
 
static implicit operator double (Value v)
 
static implicit operator Value (double v)
 
static implicit operator float (Value v)
 
static implicit operator Value (float v)
 
static implicit operator bool (Value v)
 
static implicit operator Value (bool v)
 

Properties

Value this[int idx] [get, set]
 
Value this[string idx] [get, set]
 

Detailed Description

A JavaScript/JSON Jelly Bean like value wrapper. It can hold dictionaries, arrays, strings, doubles, floats ints and bools.

It can easily be converted to JSON via toStyledString();

example usage: var properties = new MPValue(); properties["foo"] = 42; properties["bar"]["baz"].append(10); properties["mih"]["meh"]["muh"] = true;


The documentation for this class was generated from the following file:
  • Value.cs