All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jeroenr.bson.BsonValue.scala Maven / Gradle / Ivy

The newest version!
package com.github.jeroenr.bson

import java.nio.ByteOrder

trait BsonValue extends Writable {
  implicit val byteOrder = ByteOrder.LITTLE_ENDIAN

  def pretty(level: Int): String = toString

  /** Overloaded empty paren method because of java interop. */
  def pretty(): String = pretty(0)

  /**
   * @param extended true to use MongoDB Extended JSON Format.
   */
  def toJson(extended: Boolean): String = toString

  def toJson(): String = toJson(false)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy