Package org.bson.types
Class Code
- java.lang.Object
-
- org.bson.types.Code
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CodeWithScope
,CodeWScope
public class Code extends Object implements Serializable
For using the Code type.- See Also:
- Serialized Form
-
-
Constructor Detail
-
Code
public Code(String code)
Construct a new instance with the given code.- Parameters:
code
- the Javascript code
-
-