# Class CompilationResultJsonConverter

java.lang.Object
com.snmp4j.smi.util.json.CompilationResultJsonConverter

public class CompilationResultJsonConverter extends Object
Utility class for converting `CompilationResult` instances to JSON format.

Since:
  2.0
Version:
  2.0
Author:
  Frank Fock

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `toJson(CompilationResult result)`
  Converts a CompilationResult instance to JSON format.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### toJson

    public static String toJson(CompilationResult result)
    Converts a CompilationResult instance to JSON format.
    Parameters:
      `result` - a `CompilationResult` instance.
    Returns:
      a JSON string representation of the CompilationResult.